The broadest benchmark of U.S. stocks, the S&P 500 climbed to new highs, early in the session, amid optimism around earnings season.