diff mbox

And fix the mcore port too

Message ID bae3c281-b1e2-4f15-6c5e-c92288e17c86@redhat.com
State New
Headers show

Commit Message

Jeff Law Nov. 23, 2016, 6:15 p.m. UTC
Another prototype that didn't get fixed in the rtx_insn * changes.

Installing on the trunk as obvious.

Jeff
commit 9fb780b14647e3c0d4232029b9f1b7d6de6103d6
Author: Jeff Law <law@redhat.com>
Date:   Wed Nov 23 11:15:03 2016 -0700

    	* config/mcore/mcore.c (emit_new_cond_insn): Fix prototype.
diff mbox

Patch

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b8a968e..686eb72 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -7,6 +7,8 @@ 
 
 2016-11-23  Jeff Law  <law@redhat.com>
 
+	* config/mcore/mcore.c (emit_new_cond_insn): Fix prototype.
+
 	* config/iq2000/iq2000.c (iq2000_rtx_costs): Avoid multiplication
 	in boolean context warning.
 
diff --git a/gcc/config/mcore/mcore.c b/gcc/config/mcore/mcore.c
index 2d4a911..f9fb629 100644
--- a/gcc/config/mcore/mcore.c
+++ b/gcc/config/mcore/mcore.c
@@ -98,7 +98,7 @@  static const char *     output_inline_const     (machine_mode, rtx *);
 static void       layout_mcore_frame            (struct mcore_frame *);
 static void       mcore_setup_incoming_varargs	(cumulative_args_t, machine_mode, tree, int *, int);
 static cond_type  is_cond_candidate             (rtx);
-static rtx_insn  *emit_new_cond_insn            (rtx, int);
+static rtx_insn  *emit_new_cond_insn            (rtx_insn *, int);
 static rtx_insn  *conditionalize_block          (rtx_insn *);
 static void       conditionalize_optimization   (void);
 static void       mcore_reorg                   (void);