From 8df68a82190bc0bf6c3bf3a7a3576e296fc5d3ef Mon Sep 17 00:00:00 2001 From: Trevor Saunders Date: Sat, 2 May 2015 21:06:27 +0000 Subject: [PATCH] make fp_setter_insn take a rtx_insn * gcc/ChangeLog: 2015-05-02 Trevor Saunders * cselib.c (fp_setter_insn): Take a rtx_insn *. * cselib.h (fp_setter_insn): Adjust. From-SVN: r222739 --- gcc/ChangeLog | 5 +++++ gcc/cselib.c | 2 +- gcc/cselib.h | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6f9e6c11fe3..d3e23bd761e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-05-02 Trevor Saunders + + * cselib.c (fp_setter_insn): Take a rtx_insn *. + * cselib.h (fp_setter_insn): Adjust. + 2015-05-02 Trevor Saunders * recog.c (struct validate_replace_src_data): Change type of diff --git a/gcc/cselib.c b/gcc/cselib.c index 5256a6e64b6..f4b258052b7 100644 --- a/gcc/cselib.c +++ b/gcc/cselib.c @@ -2618,7 +2618,7 @@ cselib_record_sets (rtx_insn *insn) /* Return true if INSN in the prologue initializes hard_frame_pointer_rtx. */ bool -fp_setter_insn (rtx insn) +fp_setter_insn (rtx_insn *insn) { rtx expr, pat = NULL_RTX; diff --git a/gcc/cselib.h b/gcc/cselib.h index c20f85f2158..082bf5490f2 100644 --- a/gcc/cselib.h +++ b/gcc/cselib.h @@ -79,7 +79,7 @@ extern void cselib_init (int); extern void cselib_clear_table (void); extern void cselib_finish (void); extern void cselib_process_insn (rtx_insn *); -extern bool fp_setter_insn (rtx); +extern bool fp_setter_insn (rtx_insn *); extern machine_mode cselib_reg_set_mode (const_rtx); extern int rtx_equal_for_cselib_p (rtx, rtx); extern int references_value_p (const_rtx, int); -- 2.30.2