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 | |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree-eh.c | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 84e81e7d29f..933ce5f978c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-10-20 Richard Henderson <rth@redhat.com> + + * tree-eh.c (lower_try_finally_copy): Do lower_eh_constructs_1 + before emit_post_landing_pad. + 2009-10-20 Adam Nemet <anemet@caviumnetworks.com> * config/mips/mips.c (mips_binary_cost): Add new argument speed. 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); } |