[06/25] can_nonlocal_goto can take a rtx_insn *
diff mbox

Message ID 1431144504-23213-7-git-send-email-tbsaunde+gcc@tbsaunde.org
State New
Headers show

Commit Message

tbsaunde+gcc@tbsaunde.org May 9, 2015, 4:08 a.m. UTC
From: Trevor Saunders <tbsaunde+gcc@tbsaunde.org>

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.
---
 gcc/ChangeLog | 6 ++++++
 gcc/except.c  | 2 +-
 gcc/rtl.h     | 2 +-
 3 files changed, 8 insertions(+), 2 deletions(-)

Patch
diff mbox

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 632a283..a95b674 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);