aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2016-11-28 23:51:29 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2016-11-28 23:51:29 +0100
commita5a4add7aa2b78c3c7f48b173e24944439d82992 (patch)
tree0c52aec17a91d8f7886f3777f1bfef87a290e24f /gcc/rtl.h
parentde6aa93370b68a9fbcf874de8a97c5d1469b7d46 (diff)
downloadgcc-a5a4add7aa2b78c3c7f48b173e24944439d82992.zip
gcc-a5a4add7aa2b78c3c7f48b173e24944439d82992.tar.gz
gcc-a5a4add7aa2b78c3c7f48b173e24944439d82992.tar.bz2
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
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 660d381..5fde698 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -3057,7 +3057,7 @@ extern void add_int_reg_note (rtx_insn *, enum reg_note, int);
extern void add_shallow_copy_of_reg_note (rtx_insn *, rtx);
extern rtx duplicate_reg_note (rtx);
extern void remove_note (rtx_insn *, const_rtx);
-extern void remove_reg_equal_equiv_notes (rtx_insn *);
+extern bool remove_reg_equal_equiv_notes (rtx_insn *);
extern void remove_reg_equal_equiv_notes_for_regno (unsigned int);
extern int side_effects_p (const_rtx);
extern int volatile_refs_p (const_rtx);