http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51248
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-12-14 22:33:42 UTC --- Author: jason Date: Wed Dec 14 22:33:39 2011 New Revision: 182348 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182348 Log: PR c++/51248 * decl.c (copy_type_enum): Also update variants. (finish_enum): Allow variants of complete enums. Added: branches/gcc-4_6-branch/gcc/testsuite/g++.dg/other/enum2.C Modified: branches/gcc-4_6-branch/gcc/cp/ChangeLog branches/gcc-4_6-branch/gcc/cp/decl.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog