[14/25] cse_change_cc0_mode can take a rtx_insn *
diff mbox

Message ID 1431144504-23213-15-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>

	* cse.c (cse_change_cc0_mode): Change argument type to rtx_insn *.
---
 gcc/ChangeLog | 4 ++++
 gcc/cse.c     | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

Patch
diff mbox

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b59146f..a595d23 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@ 
 2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
 
+	* cse.c (cse_change_cc0_mode): Change argument type to rtx_insn *.
+
+2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
+
 	* emit-rtl.c (emit_debug_insn_before): Change argument type to
 	rtx_insn *.
 	* rtl.h: Adjust.
diff --git a/gcc/cse.c b/gcc/cse.c
index 15eb33e..fcfcd3d 100644
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -7131,7 +7131,7 @@  delete_trivially_dead_insns (rtx_insn *insns, int nreg)
 
 static void
 cse_change_cc_mode (subrtx_ptr_iterator::array_type &array,
-		    rtx *loc, rtx insn, rtx newreg)
+		    rtx *loc, rtx_insn *insn, rtx newreg)
 {
   FOR_EACH_SUBRTX_PTR (iter, array, loc, NONCONST)
     {