diff mbox

[committed] eh_returnjump_p takes an rtx_insn

Message ID 1409863019.19403.23.camel@surprise
State New
Headers show

Commit Message

David Malcolm Sept. 4, 2014, 8:36 p.m. UTC
The attached trivial patch strengthens a param from rtx to rtx_insn *,
and thus falls under the pre-approval granted by Jeff here:
  https://gcc.gnu.org/ml/gcc-patches/2014-08/msg01310.html

Bootstrapped on x86_64-unknown-linux-gnu (Fedora 20), and has been
rebuilt as part of a config-list.mk build for all working configurations
(albeit with other patches for the latter case).

Committed to trunk as r214919.
diff mbox

Patch

Index: gcc/ChangeLog
===================================================================
--- gcc/ChangeLog	(revision 214918)
+++ gcc/ChangeLog	(revision 214919)
@@ -1,3 +1,10 @@ 
+2014-09-04  David Malcolm  <dmalcolm@redhat.com>
+
+	* jump.c (eh_returnjump_p): Strengthen param "insn" from rtx to
+	rtx_insn *.
+
+	* rtl.h (eh_returnjump_p): Likewise.
+
 2014-09-04  Aldy Hernandez  <aldyh@redhat.com>
 
 	* Makefile.in (TAGS): Handle constructs in timevar.def.
Index: gcc/jump.c
===================================================================
--- gcc/jump.c	(revision 214918)
+++ gcc/jump.c	(revision 214919)
@@ -954,7 +954,7 @@ 
 /* Return true if INSN is a (possibly conditional) return insn.  */
 
 int
-eh_returnjump_p (rtx insn)
+eh_returnjump_p (rtx_insn *insn)
 {
   if (JUMP_P (insn))
     {
Index: gcc/rtl.h
===================================================================
--- gcc/rtl.h	(revision 214918)
+++ gcc/rtl.h	(revision 214919)
@@ -3235,7 +3235,7 @@ 
 extern rtx condjump_label (const_rtx);
 extern int simplejump_p (const_rtx);
 extern int returnjump_p (rtx);
-extern int eh_returnjump_p (rtx);
+extern int eh_returnjump_p (rtx_insn *);
 extern int onlyjump_p (const_rtx);
 extern int only_sets_cc0_p (const_rtx);
 extern int sets_cc0_p (const_rtx);