]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/51248 (ICE with pointer to enum)
authorJason Merrill <jason@redhat.com>
Wed, 14 Dec 2011 22:33:39 +0000 (17:33 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 14 Dec 2011 22:33:39 +0000 (17:33 -0500)
commit8c133619fdaec43cc1fe22389932b1cb7f892ad9
tree47db5b79da33afc43477f73bd1b98831071a5983
parent6831a7a521e7f3312b63142dcae176340bd77d02
re PR c++/51248 (ICE with pointer to enum)

PR c++/51248
* decl.c (copy_type_enum): Also update variants.
(finish_enum): Allow variants of complete enums.

From-SVN: r182348
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/enum2.C [new file with mode: 0644]