Stocks notched solid gains on Wall Street Tuesday as investors welcomed surprisingly good quarterly results from some of the nation’s biggest companies. Technology, health care and financial stocks powered the market’s broad gains, which erased modest losses from a day earlier. On Tuesday: The S&P 500 index climbed 29.53 points, or 1%, to 2,995.68. The