From 656047bf85af1ae62b55e105a1b40a1e5d02848b Mon Sep 17 00:00:00 2001 From: rth Date: Fri, 2 Jul 2004 04:53:37 +0000 Subject: * 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 --- gcc/cfgexpand.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/cfgexpand.c') 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 -- cgit v1.2.1