The Toronto stock market posted a small gain Monday after U.S. home sales numbers came in much better than expected for the month of June, an encouraging, if not overly inspirational, sign of economic recovery.