Stocks were little changed on Friday on mixed economic data as major indexes were on track to post their worst week in five.

Financial shares gained after lawmakers agreed on an overhaul of regulations in an all-night session, but the bill must still be approved by both chambers of Congress before it can be signed into law.

JPMorgan Chase & Co , up 1.5 percent to $38.58, was the top boost to the Dow industrials and the KBW bank index <.BKX> gained 1.6 percent.

Consumer sentiment rose in June to its highest point since January 2008, a survey showed, but Wall Street was concerned about the strength of the recovery after revised data showed first-quarter economic growth was slower than previously estimated.

While most revisions are shrugged off, in this case, it was concerning that growth was not as robust as first believed, said Tim Ghriskey, chief investment officer at Solaris Asset Management in Bedford Hills, New York.

There's more realization the financial reform bill does not appear onerous and financials are rallying, so we end with a very schizophrenic market, he said.

The Dow Jones industrial average <.DJI> dipped 23.80 points, or 0.23 percent, to 10,129.00. The Standard & Poor's 500 Index <.SPX> edged up 0.44 point, or 0.04 percent, to 1,074.13. The Nasdaq Composite Index <.IXIC> rose 2.75 points, or 0.12 percent, to 2,220.17.

The S&P was set to post its first negative week in three and its weakest in the past five. The week's high and low points were wider than last week's. Closing below the previous week's low in an 'outside week' is seen as a technical bearish signal.

BlackBerry maker Research in Motion Ltd was the biggest drag on the Nasdaq 100 after reporting shipments and subscribers fell short of expectations, fueling fears it was losing market share to rivals like Apple Inc . RIM's U.S. shares slumped more than 8 percent to $53.79.

KB Home shares tumbled 8 percent to $11.24 after the fifth-largest U.S. homebuilder reported a wider-than-expected quarterly loss. The Morgan Stanley housing index <.HGX> fell 1 percent.

Among gainers, Oracle Corp's quarterly profit beat expectations as sales of new software rose. Oracle added 3.1 percent at $22.90.

(Reporting by Rodrigo Campos; Editing by Kenneth Barry)