aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2020-05-08 09:30:54 +0200
committerJakub Jelinek <jakub@redhat.com>2020-05-08 09:30:54 +0200
commitaf1634f1b555004753a22d1124dbb8419ee095cb (patch)
tree0248c89291a324cd6af2806c61e8c29b6b6f95ce /gcc/rtl.h
parent88fdafb10608c8d01048f91213d67669988d62f4 (diff)
downloadgcc-af1634f1b555004753a22d1124dbb8419ee095cb.zip
gcc-af1634f1b555004753a22d1124dbb8419ee095cb.tar.gz
gcc-af1634f1b555004753a22d1124dbb8419ee095cb.tar.bz2
csa: Fix --enable-checking=yes,df bootstrap failure in csa [PR94961]
My recent combine-stack-adj.c change broke df checking bootstrap, while most of the changes are done through validate_change/confirm_changes which update df info, the removal of REG_EQUAL notes didn't update df info. 2020-05-08 Jakub Jelinek <jakub@redhat.com> PR bootstrap/94961 PR rtl-optimization/94516 * rtl.h (remove_reg_equal_equiv_notes): Add a bool argument defaulted to false. * rtlanal.c (remove_reg_equal_equiv_notes): Add no_rescan argument. Call df_notes_rescan if that argument is not true and returning true. * combine.c (adjust_for_new_dest): Pass true as second argument to remove_reg_equal_equiv_notes. * postreload.c (reload_combine_recognize_pattern): Don't call df_notes_rescan.
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 b29afca..b0b1aac 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -3500,7 +3500,7 @@ extern void add_args_size_note (rtx_insn *, poly_int64);
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 bool remove_reg_equal_equiv_notes (rtx_insn *);
+extern bool remove_reg_equal_equiv_notes (rtx_insn *, bool = false);
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);