diff options
author | Richard Henderson <rth@redhat.com> | 2004-07-01 21:53:37 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2004-07-01 21:53:37 -0700 |
commit | 6429e3bef352c9dc940977d3079f025f3268a8b9 (patch) | |
tree | 747c99ba0b92f8eea6dff90b5b9f8179903a0e49 /gcc/cfgexpand.c | |
parent | 4dfa034295629327f8b823cb1c6dfa1585ac86ee (diff) | |
download | gcc-6429e3bef352c9dc940977d3079f025f3268a8b9.tar.gz |
gimple-low.c (lower_function_body): Don't reset_block_changes here.
* 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.
From-SVN: r84012
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 |