http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54511
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-09-07 08:03:22 UTC --- template <int i> struct S { S () { union { int a; }; a = 0; } }; S<0> s; Somehow the decl in the assignment isn't getting remapped during clone_body.