S&P 500 headed for record high as inflation seems temporary