Modest gains on Wall Street lifted the stock market to an all-time high Wednesday ahead of a highly anticipated earnings update from computer .
The S&P 500 rose 0.2%, good enough to nudge the benchmark index past the record high it set two weeks ago. The Dow Jones Industrial Average rose 0.3% and the Nasdaq composite closed 0.2% higher.