diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-20 22:54:28 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-10-20 22:54:28 +0000 |
commit | 2fabdfdf48abd3690c53b16698f3569dd28169e1 (patch) | |
tree | 92eb272594f4fae57e1099983014c4f0751a3c2e /gcc/tree-eh.c | |
parent | 4d46979da5f88cecc98bf8a8aa1b8b0bbea6487e (diff) | |
download | gcc-2fabdfdf48abd3690c53b16698f3569dd28169e1.tar.gz |
* tree-eh.c (lower_try_finally_copy): Do lower_eh_constructs_1
before emit_post_landing_pad.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153044 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-eh.c')
-rw-r--r-- | gcc/tree-eh.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/tree-eh.c b/gcc/tree-eh.c index c077d940eb2..56b1b941683 100644 --- a/gcc/tree-eh.c +++ b/gcc/tree-eh.c @@ -1192,12 +1192,11 @@ lower_try_finally_copy (struct leh_state *state, struct leh_tf_state *tf) if (tf->may_throw) { - emit_post_landing_pad (&eh_seq, tf->region); - seq = lower_try_finally_dup_block (finally, state); lower_eh_constructs_1 (state, seq); - gimple_seq_add_seq (&eh_seq, seq); + emit_post_landing_pad (&eh_seq, tf->region); + gimple_seq_add_seq (&eh_seq, seq); emit_resx (&eh_seq, tf->region); } |