From: Trevor Saunders <tbsaunde+...@tbsaunde.org>

gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+...@tbsaunde.org>

        * except.c (make_reg_eh_region_note): Change argument to
        rtx_insn *.
        (make_reg_eh_region_note_nothrow_nononlocal): Likewise.
        * except.h: Adjust.
---
 gcc/ChangeLog | 7 +++++++
 gcc/except.c  | 4 ++--
 gcc/except.h  | 4 ++--
 3 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 54297f2..db7f740 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,12 @@
 2015-05-08  Trevor Saunders  <tbsaunde+...@tbsaunde.org>
 
+       * except.c (make_reg_eh_region_note): Change argument to
+       rtx_insn *.
+       (make_reg_eh_region_note_nothrow_nononlocal): Likewise.
+       * except.h: Adjust.
+
+2015-05-08  Trevor Saunders  <tbsaunde+...@tbsaunde.org>
+
        * mode-switching.c (commit_mode_sets): Change type of local
        variable from rtx to rtx_insn *.
 
diff --git a/gcc/except.c b/gcc/except.c
index d609592..e4264bf 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -1694,7 +1694,7 @@ for_each_eh_label (void (*callback) (rtx))
   direct call cases) and just pull the data out of the trees.  */
 
 void
-make_reg_eh_region_note (rtx insn, int ecf_flags, int lp_nr)
+make_reg_eh_region_note (rtx_insn *insn, int ecf_flags, int lp_nr)
 {
   rtx value;
   if (ecf_flags & ECF_NOTHROW)
@@ -1711,7 +1711,7 @@ make_reg_eh_region_note (rtx insn, int ecf_flags, int 
lp_nr)
    already exists.  */
 
 void
-make_reg_eh_region_note_nothrow_nononlocal (rtx insn)
+make_reg_eh_region_note_nothrow_nononlocal (rtx_insn *insn)
 {
   rtx note = find_reg_note (insn, REG_EH_REGION, NULL_RTX);
   rtx intmin = GEN_INT (INT_MIN);
diff --git a/gcc/except.h b/gcc/except.h
index eb81203..504b4bd 100644
--- a/gcc/except.h
+++ b/gcc/except.h
@@ -270,8 +270,8 @@ extern eh_region get_eh_region_from_lp_number (int);
 
 extern eh_region eh_region_outermost (struct function *, eh_region, eh_region);
 
-extern void make_reg_eh_region_note (rtx insn, int ecf_flags, int lp_nr);
-extern void make_reg_eh_region_note_nothrow_nononlocal (rtx);
+extern void make_reg_eh_region_note (rtx_insn *insn, int ecf_flags, int lp_nr);
+extern void make_reg_eh_region_note_nothrow_nononlocal (rtx_insn *);
 
 extern void verify_eh_tree (struct function *);
 extern void dump_eh_tree (FILE *, struct function *);
-- 
2.4.0.78.g7c6ecbf

Reply via email to