Stock markets posted broad gains as a run of upbeat corporate earnings reassured investors who had braced for a weaker quarter.

Technology shares led the advance, with chipmakers and cloud providers among the strongest performers.

Economists cautioned that one quarter does not make a trend, pointing to lingering uncertainty over interest rates.