summaryrefslogtreecommitdiff
path: root/gcc/tree-eh.c
diff options
context:
space:
mode:
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2014-04-30 17:19:02 +0000
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2014-04-30 17:19:02 +0000
commit951019127b9f3cf59989ceb74539d454d535d3b5 (patch)
tree958443e6076f37a3ff7d07d9303f5c4171944638 /gcc/tree-eh.c
parentbedbed50ff969478b0c8878678d7c169a8a0cdaf (diff)
parent8a21d39cf1ea8183eb1e95bbb4396d97ae0dc36d (diff)
downloadgcc-951019127b9f3cf59989ceb74539d454d535d3b5.tar.gz
Merge in trunk.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@209944 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-eh.c')
-rw-r--r--gcc/tree-eh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-eh.c b/gcc/tree-eh.c
index b83274b1fb8..e86c96b65e3 100644
--- a/gcc/tree-eh.c
+++ b/gcc/tree-eh.c
@@ -1550,6 +1550,8 @@ lower_try_finally_switch (struct leh_state *state, struct leh_tf_state *tf)
/* Make sure that the last case is the default label, as one is required.
Then sort the labels, which is also required in GIMPLE. */
CASE_LOW (last_case) = NULL;
+ tree tem = case_label_vec.pop ();
+ gcc_assert (tem == last_case);
sort_case_labels (case_label_vec);
/* Build the switch statement, setting last_case to be the default