https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64251
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Wed Jan 7 15:18:27 2015 New Revision: 219309 URL: https://gcc.gnu.org/viewcvs?rev=219309&root=gcc&view=rev Log: PR c++/64251 * decl2.c (mark_used): Don't mark if in_template_function. Added: branches/gcc-4_9-branch/gcc/testsuite/g++.dg/template/non-dependent14.C Modified: branches/gcc-4_9-branch/gcc/cp/ChangeLog branches/gcc-4_9-branch/gcc/cp/decl2.c