From 1f9a257f0f346c90b2e3c9e2420a1a7f0a1ebf61 Mon Sep 17 00:00:00 2001 From: dmalcolm Date: Thu, 4 Sep 2014 20:34:36 +0000 Subject: [PATCH] eh_returnjump_p takes an rtx_insn 2014-09-04 David Malcolm gcc/ * jump.c (eh_returnjump_p): Strengthen param "insn" from rtx to rtx_insn *. * rtl.h (eh_returnjump_p): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214919 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 7 +++++++ gcc/jump.c | 2 +- gcc/rtl.h | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 851debf7979..e65a69faa00 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2014-09-04 David Malcolm + + * jump.c (eh_returnjump_p): Strengthen param "insn" from rtx to + rtx_insn *. + + * rtl.h (eh_returnjump_p): Likewise. + 2014-09-04 Aldy Hernandez * Makefile.in (TAGS): Handle constructs in timevar.def. diff --git a/gcc/jump.c b/gcc/jump.c index 3cb7ef29eae..12edd927e54 100644 --- a/gcc/jump.c +++ b/gcc/jump.c @@ -954,7 +954,7 @@ returnjump_p (rtx insn) /* 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)) { diff --git a/gcc/rtl.h b/gcc/rtl.h index beeed2f9a1e..10f4bbe8c4d 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -3235,7 +3235,7 @@ extern rtx pc_set (const_rtx); 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); -- 2.11.4.GIT