struct eh_landing_pad_d: field "landing_pad" is an rtx_code_label
authorDavid Malcolm <dmalcolm@redhat.com>
Mon, 25 Aug 2014 20:07:26 +0000 (20:07 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Mon, 25 Aug 2014 20:07:26 +0000 (20:07 +0000)
gcc/
* except.h (struct eh_landing_pad_d): Strengthen field
"landing_pad" from rtx to rtx_code_label *.

* except.c (sjlj_emit_dispatch_table): Likewise for param
"dispatch_label"
(sjlj_build_landing_pads): Likewise for local "dispatch_label".

From-SVN: r214469

gcc/ChangeLog
gcc/except.c
gcc/except.h

index 1f1c6e6a4570f34a264e378ae2bb6ab3a97f2c94..d13b175e5f8ff3eb1df4b28dcd8127d2d0c95de5 100644 (file)
@@ -1,3 +1,12 @@
+2014-08-25  David Malcolm  <dmalcolm@redhat.com>
+
+       * except.h (struct eh_landing_pad_d): Strengthen field
+       "landing_pad" from rtx to rtx_code_label *.
+
+       * except.c (sjlj_emit_dispatch_table): Likewise for param
+       "dispatch_label"
+       (sjlj_build_landing_pads): Likewise for local "dispatch_label".
+
 2014-08-25  David Malcolm  <dmalcolm@redhat.com>
 
        * config/xtensa/xtensa-protos.h (xtensa_emit_loop_end): Strengthen
index 0b0b6465229e152f83288a51cabea4e5f86ec339..7decba5b14333c102283e6a766f5e3f960e5e056 100644 (file)
@@ -1280,7 +1280,7 @@ sjlj_emit_function_exit (void)
 }
 
 static void
-sjlj_emit_dispatch_table (rtx dispatch_label, int num_dispatch)
+sjlj_emit_dispatch_table (rtx_code_label *dispatch_label, int num_dispatch)
 {
   enum machine_mode unwind_word_mode = targetm.unwind_word_mode ();
   enum machine_mode filter_mode = targetm.eh_return_filter_mode ();
index 24008e342831a0386439de81575cb650036b75a5..71a8dceba8af390ffa56e0a9ab5a7482fef815b4 100644 (file)
@@ -87,7 +87,7 @@ struct GTY(()) eh_landing_pad_d
      EXCEPTION_RECEIVER pattern will be expanded here, as well as other
      bookkeeping specific to exceptions.  There must not be normal edges
      into the block containing the landing-pad label.  */
-  rtx landing_pad;
+  rtx_code_label *landing_pad;
 
   /* The index of this landing pad within fun->eh->lp_array.  */
   int index;