Stocks jump for second day, fueled by inflation optimism