<p>Wall Street extended gains on Wednesday as the S&P 500 rose for the third consecutive day after positive housing data, but IBM weighed down the Dow after it posted weak revenue.</p><br /><p>Global stocks rose for a third day helped by moves to resolve Spain's debt crisis and better-than-expected U.S. economic data.</p>