summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-25 20:07:26 +0000
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-25 20:07:26 +0000
commit867c80008f4e54d8851c9c184697da9fe3d960ad (patch)
tree4a56aed3a629a01bea087203267f695747a1a94f
parent08a06697ad3c6fce148d52694e345adefb504445 (diff)
downloadgcc-867c80008f4e54d8851c9c184697da9fe3d960ad.tar.gz
struct eh_landing_pad_d: field "landing_pad" is an rtx_code_label
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". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214469 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/except.c2
-rw-r--r--gcc/except.h2
3 files changed, 11 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1f1c6e6a457..d13b175e5f8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,14 @@
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
first param from rtx to rtx_insn *.
* config/xtensa/xtensa.c (struct machine_function): Likewise for
diff --git a/gcc/except.c b/gcc/except.c
index 0b0b6465229..7decba5b143 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -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 ();
diff --git a/gcc/except.h b/gcc/except.h
index 24008e34283..71a8dceba8a 100644
--- a/gcc/except.h
+++ b/gcc/except.h
@@ -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;