re PR c++/70594 (-fcompare-debug failure)
authorJakub Jelinek <jakub@redhat.com>
Wed, 13 Apr 2016 14:45:46 +0000 (16:45 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 13 Apr 2016 14:45:46 +0000 (16:45 +0200)
commit3eddc1c9718c6b8264d42cda6e76a3dd9ffc93f0
treeb802aeb1353a87fecdf39a536b7332d0ff55e3ff
parent9d4099343ab2eec82ddb4faff48b6e04fed5519c
re PR c++/70594 (-fcompare-debug failure)

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.

From-SVN: r234942
gcc/cp/ChangeLog
gcc/cp/decl.c