[Bug c++/72808] [6 Regression] ICE on valid c++ code in verify_type (gcc/tree.c:14047)
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 7 23:00:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72808
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Dec 7 22:59:28 2016
New Revision: 243412
URL: https://gcc.gnu.org/viewcvs?rev=243412&root=gcc&view=rev
Log:
Backported from mainline
2016-11-28 Jakub Jelinek <jakub@redhat.com>
Jason Merrill <jason@redhat.com>
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:
branches/gcc-6-branch/gcc/testsuite/g++.dg/debug/pr72808.C
Modified:
branches/gcc-6-branch/gcc/cp/ChangeLog
branches/gcc-6-branch/gcc/cp/decl.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list