NEW YORK (AP) — Strong earnings from tech giants nudged the stock market to a five-year high Wednesday. Investors drew encouragement from a vote by the House of Representatives to let the government keep paying all of its bills for another four months.
The Dow Jones industrial average rose 67.12 points to close at 13,779.33. That's the highest level since Oct. 31, 2007, a month before the Great Recession started.
Google and IBM reported surprisingly solid fourth-quarter earnings late Tuesday, a hopeful sign for investors who expected tech companies to struggle at the end of last year.
IBM's results beat expectations, thanks to its lucrative Internet-based "cloud computing" business and sales of software services to Brazil, Russia and other developing countries. The company also raised its earnings outlook for the current year. IBM led the Dow's 30 stocks, rising $8.64 to $204.72.
Without IBM's 4 percent gain, the Dow would have been nearly flat.
Other indexes made slight gains. The Standard & Poor's 500 index inched up 2.25 points to 1,494.81, while the tech-heavy Nasdaq composite rose 10.49 points to 3,153.67.
The stock market has climbed so quickly this month that it will likely take more than good earnings to keep it heading higher. "This market is really stretched," said Clark Yingst, chief market analyst at the securities firm Joseph Gunnar. "We've essentially gone straight up since January 2. There's certainly room for people to take profits."
The S&P 500 index is already up 4.8 percent in 2013. That's more than half of what most stock-fund investors hope to make in a single year.
The House passed a bill Wednesday afternoon to suspend the government's borrowing limit until May 19. Senate Majority Leader Harry Reid, D-Nev., said his chamber would immediately move the legislation to the White House.
House Republicans had previously said they would use the debt ceiling as a bargaining chip to push for deeper government spending cuts.
Google gained 6 percent after its earnings climbed at the end of last year as online advertisers spent more money in pursuit of holiday shoppers. Google rose $38.63 to $741.50.
Another tech giant, Apple, fell in after-hours trading after reporting sales that fell short of forecasts.
Slumping coal shipments have been a drag on railroad operators, but CSX and Norfolk Southern posted better revenue and profits than expected. The railroads managed to offset some of the hit from falling coal demand by getting more money from carrying car parts, building materials and other products.
Norfolk Southern rose $1.47 to $68.41 while CSX gained 87 cents to $21.68.
The quarterly earnings season is off to strong start. Of the 83 companies in the S&P 500 that reported through Tuesday, 54 have beaten Wall Street's estimates, according to S&P Capital IQ.
In the bond market, the yield on the benchmark 10-year Treasury note dipped to 1.83 percent from 1.84 percent late Tuesday.
Among other companies posting quarterly earnings:
— Advanced Micro Devices jumped 11 percent, making it the top stock in the S&P 500. The world's second-largest maker of microchips, behind Intel, posted a smaller loss and higher revenue than analysts had forecast. AMD rose 28 cents to $2.73.
— Coach plunged 16 percent, or $9.93, to $50.75. The luxury handbag maker said a challenging economy and heavy price-cutting by competitors weighed on its results. Rivals like Michael Kors have attracted more followers.
— McDonald's Corp. eked out a higher quarterly profit with the help of its Dollar Menu and the McRib sandwich. The world's biggest hamburger chain plans to roll out new menu items this year to support sales, including the Fish McBites. McDonald's inched up 53 cents to $93.48.