From 8a1b6388da95b981729823f9bcb58304c7524477 Mon Sep 17 00:00:00 2001 From: Trevor Saunders Date: Sat, 9 May 2015 04:16:19 +0000 Subject: [PATCH] make noop_move_p take a rtx_insn * gcc/ChangeLog: 2015-05-08 Trevor Saunders * rtlanal.c (noop_move_p): Change argument type to rtx_insn *. * rtl.h: Adjust. From-SVN: r222943 --- gcc/ChangeLog | 5 +++++ gcc/rtl.h | 2 +- gcc/rtlanal.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d519861a284..f121a30a7e8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-05-08 Trevor Saunders + + * rtlanal.c (noop_move_p): Change argument type to rtx_insn *. + * rtl.h: Adjust. + 2015-05-08 Trevor Saunders * rtlanal.c (add_shallow_copy_of_reg_note): Change argument type diff --git a/gcc/rtl.h b/gcc/rtl.h index 82ed3b3c6ac..870559b8733 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -2844,7 +2844,7 @@ extern int modified_in_p (const_rtx, const_rtx); extern int reg_set_p (const_rtx, const_rtx); extern int multiple_sets (const_rtx); extern int set_noop_p (const_rtx); -extern int noop_move_p (const_rtx); +extern int noop_move_p (const rtx_insn *); extern bool refers_to_regno_p (unsigned int, unsigned int, const_rtx, rtx *); extern int reg_overlap_mentioned_p (const_rtx, const_rtx); extern const_rtx set_of (const_rtx, const_rtx); diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index f1511c48216..9760babbe4c 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -1368,7 +1368,7 @@ set_noop_p (const_rtx set) value to itself. */ int -noop_move_p (const_rtx insn) +noop_move_p (const rtx_insn *insn) { rtx pat = PATTERN (insn); -- 2.30.2