From: Trevor Saunders Date: Sat, 9 May 2015 04:16:03 +0000 (+0000) Subject: can_nonlocal_goto can take a rtx_insn * X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d8c1e9b62d314b3d3434e7193aa9e907b6e74319;p=gcc.git 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 --- 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);