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