Canada's main stock index rose on Thursday as energy stocks gained from a bounce in oil prices, while drug maker Valeant Pharmaceuticals International Inc (VRX.TO) slumped on a report it is the target of a criminal probe.

The energy group rose 1.2 per cent, leading gains after the broader index broke a five-day winning streak on Wednesday.

The Toronto Stock Exchange's S&P/TSX composite index ended up 21.02 points, or 0.14 per cent, at 14,796.06. The index at one point hit a 13-month intraday high of 14,855.69.

"The Canadian market this year is I think overextended," said Barry Schwartz, portfolio manager at Baskin Financial Services. "It is a little bit of a silly rally."

Meanwhile, Wall Street ended at record highs, with the Dow Jones industrial average (.DJI) climbed 0.64 per cent to end at 18,613.52 points and the S&P 500 (.SPX) gained 0.47 per cent to 2,185.79.

The Nasdaq Composite (.IXIC) added 0.46 per cent to 5,228.40.

Oil prices jumped the most in a month after the Saudi oil minister spoke about possible action to stabilize prices and the International Energy Agency predicted supply should tighten in the coming months after several years of overproduction.

Canadian Natural Resources Ltd (CNQ.TO) added 1.3 per cent to $41.35, pipeline operator Enbridge Inc (ENB.TO) advanced 1.1 per cent to $54.44, and Encana Corp (ECA.TO) rose 5.6 per cent to $11.88.

Schwartz said he has avoided energy stocks - a major force on the Canadian index - so far this year given a lack of certainty on future prices, and that he expects commodity stocks to snap back from recent gains.

"I wouldn't be surprised to see some of the commodities be the worst performers in the second half of the year," he said.

The most influential drag on the index was Valeant, which fell 11.2 per cent to $31.76. The Wall Street Journal reported the drugmaker is the subject of a criminal probe over whether it hid from insurers its relationship with a specialty pharmacy.

Valeant stock had surged 25 per cent earlier this week after it unveiled a plan to raise billions from asset sales.

Seven of the index's 10 main sectors ended higher, with healthcare and technology groups down. Decliners barely outnumbered advancers overall.

The materials group, which includes precious and base metals miners and fertilizer companies, lost 0.5 per cent.

The heavyweight financials group was flat, torn between gains for its biggest banks and losses among insurers and some real estate investment trusts.

Industrials rose 0.4 per cent, with Canadian National Railway Co (CNR.TO) up 0.7 per cent to C$82.47.