From: Trevor Saunders Date: Sat, 9 May 2015 04:16:08 +0000 (+0000) Subject: make remove_reg_equal_equiv_notes take an rtx_insn * X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=43534595489d18b876d181032244747d413c2a6b;p=gcc.git 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 --- 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;