[Bug c++/70594] [6 Regression] -fcompare-debug failure

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 13 14:46:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70594

--- Comment #33 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Wed Apr 13 14:45:46 2016
New Revision: 234942

URL: https://gcc.gnu.org/viewcvs?rev=234942&root=gcc&view=rev
Log:
        PR c++/70594
        * decl.c (pop_labels_1): Removed.
        (note_label, sort_labels): New functions.
        (pop_labels): During named_labels traversal, just push the slot
        pointers into a vector, then qsort it by DECL_UID and only then
        call pop_label and chain it into BLOCK_VARS.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c


More information about the Gcc-bugs mailing list