re PR middle-end/78540 (ICE: in df_refs_verify, at df-scan.c:4062 with -O -march...
authorJakub Jelinek <jakub@redhat.com>
Mon, 28 Nov 2016 22:51:29 +0000 (23:51 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 28 Nov 2016 22:51:29 +0000 (23:51 +0100)
commita5a4add7aa2b78c3c7f48b173e24944439d82992
tree0c52aec17a91d8f7886f3777f1bfef87a290e24f
parentde6aa93370b68a9fbcf874de8a97c5d1469b7d46
re PR middle-end/78540 (ICE: in df_refs_verify, at df-scan.c:4062 with -O -march=core2)

PR middle-end/78540
* rtl.h (remove_reg_equal_equiv_notes): Return bool instead of void.
* rtlanal.c (remove_reg_equal_equiv_notes): Return true if any
note has been removed.
* postreload.c (reload_combine_recognize_pattern): If
remove_reg_equal_equiv_notes returns true, call df_notes_rescan.

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

From-SVN: r242937
gcc/ChangeLog
gcc/postreload.c
gcc/rtl.h
gcc/rtlanal.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr78540.c [new file with mode: 0644]