U.S. stocks continue to trade with solid gains as traders weigh a fresh round of earnings reports and even as a decline in third-quarter GDP points to recessionary realities.

Stocks in the U.S. edged off their opening highs but were staying positive Thursday, as a decline in third-quarter GDP was narrower than expected and companies issued a heap of quarterly earnings statements.

The Dow Jones Industrial Average was up 185 points to 9176, and the S&P 500 added 22 points to 952. The Nasdaq jumped 40 points to 1670.

Ahead of Thursday's session, the Department of Commerce reported that GDP contracted 0.3% in the third quarter, providing a strong indication that the U.S. has entered a recession. The decline was narrower than expected by economists but down from growth of 2.8% in the second quarter. Consumer spending for the third quarter was down 3.1%, the biggest drop since 1980.

Separately, the Department of Labor's initial jobless claims for the week ended Oct. 25 registered at 479,000, above analyst estimates and level with the previous week.

"If you'd been wondering if there was recession, this kind of brings it home," said Phil Dow, director of equity strategy at RBC Dain Rauscher. He said that a recession normally has been ongoing by the time the government says there is one, and that he thinks going forward the U.S. will see a two-quarter recession followed by modest growth.

"We shouldn't look for perfection in these estimates," said Dow. "It's pretty easy to get in a black mood and think that this is going to extend forever."

As for the GDP number's impact on stocks, "Normally you have the stock market recover even when it's cloudy," said Dow, and he said the market feels like it's close to an interesting bottom in pricing.

While Icahn will end a campaign run directly to eBay shareholders to have the company split PayPal and remove some board members, the settlement opens up a dialogue between both parties that Icahn believes may eventually lead to a PayPal spinoff.