diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-02 04:53:37 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-02 04:53:37 +0000 |
commit | 656047bf85af1ae62b55e105a1b40a1e5d02848b (patch) | |
tree | 747c99ba0b92f8eea6dff90b5b9f8179903a0e49 /gcc/cfgexpand.c | |
parent | 735f4358c84bd478ae8c4b635a4d938447867efe (diff) | |
download | gcc-656047bf85af1ae62b55e105a1b40a1e5d02848b.tar.gz |
* gimple-low.c (lower_function_body): Don't reset_block_changes here.
* cfgexpand.c (tree_expand_cfg): Do it here.
* config/alpha/alpha.c (alpha_output_mi_thunk_osf): And here.
* config/ia64/ia64.c (ia64_output_mi_thunk): And here.
* config/mips/mips.c (mips_output_mi_thunk): And here.
* config/rs6000/rs6000.c (rs6000_output_mi_thunk): And here.
* config/sh/sh.c (sh_output_mi_thunk): And here.
* config/sparc/sparc.c (sparc_output_mi_thunk): And here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84012 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cfgexpand.c')
-rw-r--r-- | gcc/cfgexpand.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c index b331e3de6c4..05b3bc803a3 100644 --- a/gcc/cfgexpand.c +++ b/gcc/cfgexpand.c @@ -412,6 +412,9 @@ tree_expand_cfg (void) walk_tree (&TREE_TYPE (current_function_decl), set_save_expr_context, current_function_decl, NULL); + /* Prepare the rtl middle end to start recording block changes. */ + reset_block_changes (); + /* Expand the variables recorded during gimple lowering. This must occur before the call to expand_function_start to ensure that all used variables are expanded before we expand anything on the |