[Bug c++/51248] [4.6/4.7 Regression] ICE with pointer to enum
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 14 22:39:00 GMT 2011
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
More information about the Gcc-bugs
mailing list