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  <ja...@redhat.com>
                    Jason Merrill  <ja...@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

Reply via email to