http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54511
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> 2012-09-13 15:14:03 UTC --- Author: jason Date: Thu Sep 13 15:13:45 2012 New Revision: 191262 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191262 Log: PR c++/54511 * pt.c (tsubst_decl) [VAR_DECL]: Handle DECL_ANON_UNION_VAR_P. Added: trunk/gcc/testsuite/g++.dg/template/anonunion2.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog --- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> 2012-09-13 15:15:06 UTC --- Author: jason Date: Thu Sep 13 15:14:49 2012 New Revision: 191265 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191265 Log: PR c++/54511 * pt.c (tsubst_decl) [VAR_DECL]: Handle DECL_ANON_UNION_VAR_P. Added: branches/gcc-4_7-branch/gcc/testsuite/g++.dg/template/anonunion2.C Modified: branches/gcc-4_7-branch/gcc/cp/ChangeLog branches/gcc-4_7-branch/gcc/cp/pt.c branches/gcc-4_7-branch/gcc/testsuite/ChangeLog