From d8c1e9b62d314b3d3434e7193aa9e907b6e74319 Mon Sep 17 00:00:00 2001 From: Trevor Saunders Date: Sat, 9 May 2015 04:16:03 +0000 Subject: [PATCH] can_nonlocal_goto can take a rtx_insn * gcc/ChangeLog: 2015-05-08 Trevor Saunders * except.c (can_nonlocal_goto): Change type of argument to rtx_insn *. * rtl.h: Adjust. From-SVN: r222940 --- gcc/ChangeLog | 6 ++++++ gcc/except.c | 2 +- gcc/rtl.h | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 632a28381c2..a95b674e6d3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-05-08 Trevor Saunders + + * except.c (can_nonlocal_goto): Change type of argument to + rtx_insn *. + * rtl.h: Adjust. + 2015-05-08 Trevor Saunders * rtlanal.c (computed_jump_p): Cange argument type to rtx_insn *. diff --git a/gcc/except.c b/gcc/except.c index e4264bf5fc8..770ab98ee54 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 2795d5ac474..71c000ba8a0 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); -- 2.30.2