[07/25] make remove_reg_equal_equiv_notes take an rtx_insn *
diff mbox

Message ID 1431144504-23213-8-git-send-email-tbsaunde+gcc@tbsaunde.org
State New
Headers show

Commit Message

tbsaunde+gcc@tbsaunde.org May 9, 2015, 4:08 a.m. UTC
From: Trevor Saunders <tbsaunde+gcc@tbsaunde.org>

gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* rtlanal.c (remove_reg_equal_equiv_notes): Change argument type
	to rtx_insn *.
	* rtl.h: Likewise.
---
 gcc/ChangeLog | 6 ++++++
 gcc/rtl.h     | 2 +-
 gcc/rtlanal.c | 2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)

Patch
diff mbox

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a95b674..c9b517fe 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@ 
 2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
 
+	* rtlanal.c (remove_reg_equal_equiv_notes): Change argument type
+	to rtx_insn *.
+	* rtl.h: Likewise.
+
+2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
+
 	* except.c (can_nonlocal_goto): Change type of argument to
 	rtx_insn *.
 	* rtl.h: Adjust.
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 71c000b..1e161f7 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 8c9b01d..1a69424 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;