https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66919
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Mon Aug 17 21:34:50 2015 New Revision: 226955 URL: https://gcc.gnu.org/viewcvs?rev=226955&root=gcc&view=rev Log: PR c++/66919 * pt.c (tsubst_copy): Pass complain to mark_used, check return value. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp1y/auto-fn27.C Modified: branches/gcc-5-branch/gcc/cp/ChangeLog branches/gcc-5-branch/gcc/cp/pt.c