(CNBC) — U.S. stocks on Tuesday extended gains into a third session after a May rise in consumer prices came in larger than expected, with the data coming a day ahead of the Federal Reserve’s monetary-policy decision.

E-Trade Financial rallied as investors saw little reason to believe market rules for the brokerage and others would change as a result of a Senate panel hearing on high-frequency trading. Edwards Lifesciences jumped after garnering regulatory approval for a heart device. Expedia and Netflix both gained as analysts advised buying shares of the online travel site and video-streaming service.

“We’re not going to get something different from the Fed tomorrow. They may change the economic outlook, but they are not going to change what they are doing to long-term interest rates,” said Art Hogan, chief market strategist at Wunderlich Securities.

  • Text smaller
  • Text bigger
Note: Read our discussion guidelines before commenting.