From 43534595489d18b876d181032244747d413c2a6b Mon Sep 17 00:00:00 2001 From: Trevor Saunders Date: Sat, 9 May 2015 04:16:08 +0000 Subject: [PATCH] make remove_reg_equal_equiv_notes take an rtx_insn * gcc/ChangeLog: 2015-05-08 Trevor Saunders * rtlanal.c (remove_reg_equal_equiv_notes): Change argument type to rtx_insn *. * rtl.h: Likewise. From-SVN: r222941 --- gcc/ChangeLog | 6 ++++++ gcc/rtl.h | 2 +- gcc/rtlanal.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a95b674e6d3..c9b517fec67 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-05-08 Trevor Saunders + + * rtlanal.c (remove_reg_equal_equiv_notes): Change argument type + to rtx_insn *. + * rtl.h: Likewise. + 2015-05-08 Trevor Saunders * except.c (can_nonlocal_goto): Change type of argument to diff --git a/gcc/rtl.h b/gcc/rtl.h index 71c000ba8a0..1e161f713c4 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -2869,7 +2869,7 @@ extern void add_reg_note (rtx, enum reg_note, rtx); extern void add_int_reg_note (rtx, enum reg_note, int); extern void add_shallow_copy_of_reg_note (rtx, rtx); extern void remove_note (rtx, const_rtx); -extern void remove_reg_equal_equiv_notes (rtx); +extern void 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); diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 8c9b01d19ac..1a6942491df 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -2159,7 +2159,7 @@ remove_note (rtx insn, const_rtx note) /* Remove REG_EQUAL and/or REG_EQUIV notes if INSN has such notes. */ void -remove_reg_equal_equiv_notes (rtx insn) +remove_reg_equal_equiv_notes (rtx_insn *insn) { rtx *loc; -- 2.30.2