Toronto stocks edged higher on Thursday, getting a boost from higher prices for gold and oil.

The two commodities helped lift the S&P/TSX composite index by 16.37 points, or 0.13%, to a new record high close of 12,206.95.

The TSX gold group led all sectors, up 2.6%. Barrick Gold added 75¢ to $32.08; Goldcorp rose 77¢ to $34.19.

Gold for June delivery rose US$13.20 to US$591.80, just below a 25-year high.

Crude oil rose 70¢ to US$67.15 a barrel in New York trading after Iran rejected a U.N. demand that it halt uranium enrichment.

Imperial Oil Ltd. rose $1.35 to close at $126.10. Overall, however, the energy group slipped 0.26%.

The information-technology group jumped 1.54%, getting a boost from ATI Technologies Inc. after its second-quarter results beat analyst expectations despite a 40% profit decline. ATI shares surged $1.30, or 7%, to close at $19.75.

The Canadian dollar surged more than four-fifths of a cent Thursday as the U.S. greenback lost ground and commodity prices rose.

The loonie closed at US86.16, up 0.83 cents from Wednesday’s close.

U.S. blue-chip stocks ended lower, after economic data sparked new inflation concerns.

The Dow Jones industrial average was down 65 points, or 0.58%, at 11,150.70. The S&P 500 was down just 2.64 points, or 0.20%, at 1,300.25. The Nasdaq composite index was up 3.04 points, or 0.13%, at 2,340.82.

Before the market opened, the U.S. Commerce Department released data on fourth-quarter Gross Domestic Product that showed a core inflation measure — the price index for personal spending excluding food and energy — was revised higher