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