re PR rtl-optimization/65980 (-fcompare-debug failure building Linux kernel)
authorJakub Jelinek <jakub@redhat.com>
Wed, 16 Dec 2015 08:04:31 +0000 (09:04 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 16 Dec 2015 08:04:31 +0000 (09:04 +0100)
commit8ec0963c81b2023596d1c9913571c2c462f06796
tree648a9056f458a6ed079dbf829e143f96eb75dfb8
parent3fddb2efc21a7724a7de2cca9bc277bb2bff473e
re PR rtl-optimization/65980 (-fcompare-debug failure building Linux kernel)

PR rtl-optimization/65980
* jump.c (rtx_renumbered_equal_p) <case LABEL_REF>: Use
next_nonnote_nondebug_insn instead of next_real_insn and
skip over CODE_LABELs too.

* gcc.dg/pr65980.c: New test.

From-SVN: r231672
gcc/ChangeLog
gcc/jump.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr65980.c [new file with mode: 0644]