Wall Street rose on Friday, with the S&P 500 index hitting a record intraday high for the seventh time this month as gains in technology heavyweights Alphabet and Amazon more than made up for losses in energy shares.
The benchmark index rose as much as 0.3 percent, touching an all-time high of 2,177.09, and was on track for its fifth straight month of gains.
Shares of Google parent Alphabet jumped 4.3 percent a day after the Internet company posted strong quarterly revenue growth, while online retailer Amazon touched a record high after giving an upbeat forecast for the current quarter.
Those stocks gave the biggest boost to the Nasdaq, while Alphabet contributed the most to the S&P 500's gain.
However, the Dow was dragged down by a 1.81 percent fall in Exxon, which reported a lower-than-expected quarterly profit. The stock was the top percentage loser on that index.
U.S. gross domestic product in the second quarter grew at a 1.2 percent rate, coming in below expectations for a rise of 2.6 percent and fueling arguments the U.S. Federal Reserve may not need to raise interest rates anytime soon.
"Investors are still willing to play chicken with the Fed, thus the S&P 500 has hit a new intraday all-time high," said Sam Stovall, U.S. equity strategist at S&P Global Market Intelligence in New York.
At 2:38 pm, the Dow Jones industrial average was down 0.16 percent at 18,426.73 points and the S&P 500 had gained 0.14 percent to 2,173.15.
The Nasdaq Composite added 0.1 percent to 5,160.08.
Seven of the 10 major S&P 500 indexes were higher, led by a 1.3 percent rise in the telecoms services index.