[Bug c++/72808] [6/7 Regression] ICE on valid c++ code in verify_type (gcc/tree.c:14047)
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 28 19:26:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72808
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Nov 28 19:20:02 2016
New Revision: 242930
URL: https://gcc.gnu.org/viewcvs?rev=242930&root=gcc&view=rev
Log:
PR c++/72808
* decl.c (finish_enum_value_list): Call fixup_type_variants on
current_class_type after
insert_late_enum_def_into_classtype_sorted_fields.
* g++.dg/debug/pr72808.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/debug/pr72808.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list