aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>2015-05-09 04:16:03 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2015-05-09 04:16:03 +0000
commitd8c1e9b62d314b3d3434e7193aa9e907b6e74319 (patch)
treeab83d43dbb83d245b9c843d3c66fccbd0d70c96e /gcc
parent63bd63246e5b09164625828a6ac0c7967d932bc6 (diff)
downloadgcc-d8c1e9b62d314b3d3434e7193aa9e907b6e74319.zip
gcc-d8c1e9b62d314b3d3434e7193aa9e907b6e74319.tar.gz
gcc-d8c1e9b62d314b3d3434e7193aa9e907b6e74319.tar.bz2
can_nonlocal_goto can take a rtx_insn *
gcc/ChangeLog: 2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * except.c (can_nonlocal_goto): Change type of argument to rtx_insn *. * rtl.h: Adjust. From-SVN: r222940
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/except.c2
-rw-r--r--gcc/rtl.h2
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 632a283..a95b674e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+ * except.c (can_nonlocal_goto): Change type of argument to
+ rtx_insn *.
+ * rtl.h: Adjust.
+
+2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+
* rtlanal.c (computed_jump_p): Cange argument type to rtx_insn *.
* rtl.h: Adjust.
diff --git a/gcc/except.c b/gcc/except.c
index e4264bf..770ab98 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -1941,7 +1941,7 @@ insn_nothrow_p (const_rtx insn)
/* ??? This test is here in this file because it (ab)uses REG_EH_REGION. */
bool
-can_nonlocal_goto (const_rtx insn)
+can_nonlocal_goto (const rtx_insn *insn)
{
if (nonlocal_goto_handler_labels && CALL_P (insn))
{
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 2795d5a..71c000b 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -2881,7 +2881,7 @@ extern bool can_throw_internal (const_rtx);
extern bool can_throw_external (const_rtx);
extern bool insn_could_throw_p (const_rtx);
extern bool insn_nothrow_p (const_rtx);
-extern bool can_nonlocal_goto (const_rtx);
+extern bool can_nonlocal_goto (const rtx_insn *);
extern void copy_reg_eh_region_note_forward (rtx, rtx_insn *, rtx);
extern void copy_reg_eh_region_note_backward (rtx, rtx_insn *, rtx);
extern int inequality_comparisons_p (const_rtx);