Stocks posted solid gains as Wall Street put the finishing touches on one of its best months of the year. The S&P 500 rose ...