By Caroline Valetkevitch
NEW YORK (Reuters) - U.S. stocks ended slightly higher on Tuesday, boosted by gains in technology and utilities shares, though investors were cautious ahead of the Federal Reserve's policy decision.
The Fed is widely expected to raise interest rates for the second time this year when it concludes its policy meeting on Wednesday.
Investors are focused on how the Fed characterizes its monetary policy, looking for hints if it would move to raise rates three or four times this year.
But shares of S&P 500 utilities <.SPLRCU>, up 1.3 percent, and technology <.SPLRCT>, up 0.6 percent, helped to lift the S&P 500.
Investors also awaited a court ruling, which was expected after the closing bell, that would decide the fate of AT&T Inc's $85 billion offer for Time Warner . Shares of AT&T ended up 0.5 percent, while Time Warner was flat and Charter Communications gained 2.8 percent.
More From This Section
"The Time Warner ruling has ramifications for other potential deals, so I think people are gearing up for that," said Michael O'Rourke, chief market strategist at JonesTrading in Greenwich, Connecticut.
Investors appeared to shrug off a historic U.S.-North Korea summit. President Donald Trump and North Korean leader Kim Jong Un pledged to work toward complete denuclearisation of the Korean peninsula, but their joint statement gave few details on how the goal would be achieved.
While defence stocks such as Raytheon , Lockheed Martin and Northrop Grumman dipped, the broader markets saw little impact from the summit.
The Dow Jones Industrial Average fell 1.58 points, or 0.01 percent, to 25,320.73, the S&P 500 gained 4.85 points, or 0.17 percent, to 2,786.85 and the Nasdaq Composite added 43.87 points, or 0.57 percent, to 7,703.79.
Data on Tuesday showed U.S. consumer prices rose marginally in May as gasoline price increases slowed and the underlying trend continued to suggest moderate inflation in the economy.
"There's a little bit of hesitancy going into the Fed meeting. People are unsure what the Fed is going to say," said Robert Pavlik, chief investment strategist, senior portfolio manager at SlateStone Wealth LLC in New York.
"I don't think they're going to say anything particularly related to a rate hike in December. If they say a little too much about inflation, that's going to give the market a reason to get concerned."
Tesla Inc shares were up 3.2 percent after it said it is cutting several thousand jobs across the company.
Twitter gained 5 percent after J.P. Morgan raised its price target on the stock by $11 to $50, saying it was confident about the company's advertising revenue growth.
Declining issues outnumbered advancing ones on the NYSE by a 1.02-to-1 ratio
The S&P 500 posted 4,241 new 52-week highs and 22 new lows; the Nasdaq Composite recorded 154,139 new highs and 2,622 new lows.
About 6.4 billion shares changed hands on U.S. exchanges. That compares with the 6.6 billion daily average for the past 20 trading days, according to Thomson Reuters data.
(Additional reporting by Sruthi Shankar in Bengaluru; Editing by Chizu Nomiyama and Chris Reese)