Australia's share market has clawed back some early losses to end the session flat despite oil trading at one-month highs as the US and Iran ramp up attacks in the Persian Gulf.

Australia's share market has clawed back some early losses to end the session flat despite oil trading at one-month highs as the US and Iran ramp up attacks in the Persian Gulf.