https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56947
--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Mon Jul 14 20:39:35 2014 New Revision: 212524 URL: https://gcc.gnu.org/viewcvs?rev=212524&root=gcc&view=rev Log: PR c++/61445 PR c++/56947 * pt.c (instantiate_decl): Don't check defer_ok for local class members. Added: trunk/gcc/testsuite/g++.dg/template/local9.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c