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