OSDN Git Service

PR c++/53995
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Jul 2012 02:48:17 +0000 (02:48 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Jul 2012 02:48:17 +0000 (02:48 +0000)
commit1a720f4cfce262b11542a7bfe5b8d2a39d87f505
treeb545a7c75671146a71df45c12a458a93e7b38fb6
parentf364206a22032b70fff47a82fcedae06a092d59e
PR c++/53995
* decl.c (finish_enum_value_list): Only call
insert_late_enum_def_into_classtype_sorted_fields in class scope.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@189599 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/enum9.C [new file with mode: 0644]