S&P 500 hits record as investors await fiscal deal