Stocks edged lower on Tuesday, ending a five-day rally for the S&P 500, as talks to resolve Greece's debt crisis hit a snag and earnings from a number of blue chips disappointed investors.

The Dow Jones industrial average <.DJI> was down 33.30 points, or 0.26 percent, at 12,675.52. The Standard & Poor's 500 Index <.SPX> was down 1.39 points, or 0.11 percent, at 1,314.61. The Nasdaq Composite Index <.IXIC> was up 2.47 points, or 0.09 percent, at 2,786.64.

(Reporting By Angela Moon; Editing by Kenneth Barry)