* 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
+2004-07-01 Richard Henderson <rth@redhat.com>
+
+ * 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.
+
2004-07-01 Richard Henderson <rth@redhat.com>
* tree.def (RTL_EXPR): Remove.
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
HOST_WIDE_INT hi, lo;
rtx this, insn, funexp;
+ reset_block_changes ();
+
/* We always require a valid GP. */
emit_insn (gen_prologue_ldgp ());
emit_note (NOTE_INSN_PROLOGUE_END);
reload_completed = 1;
epilogue_completed = 1;
no_new_pseudos = 1;
+ reset_block_changes ();
/* Set things up as ia64_expand_prologue might. */
last_scratch_gr_reg = 15;
/* Pretend to be a post-reload pass while generating rtl. */
no_new_pseudos = 1;
reload_completed = 1;
+ reset_block_changes ();
/* Pick a global pointer for -mabicalls. Use $15 rather than $28
for TARGET_NEWABI since the latter is a call-saved register. */
reload_completed = 1;
epilogue_completed = 1;
no_new_pseudos = 1;
+ reset_block_changes ();
/* Mark the end of the (empty) prologue. */
emit_note (NOTE_INSN_PROLOGUE_END);
epilogue_completed = 1;
no_new_pseudos = 1;
current_function_uses_only_leaf_regs = 1;
+ reset_block_changes ();
emit_note (NOTE_INSN_PROLOGUE_END);
epilogue_completed = 1;
no_new_pseudos = 1;
current_function_uses_only_leaf_regs = 1;
+ reset_block_changes ();
emit_note (NOTE_INSN_PROLOGUE_END);
= blocks_nreverse (BLOCK_SUBBLOCKS (data.block));
clear_block_marks (data.block);
-
- reset_block_changes ();
}
struct tree_opt_pass pass_lower_cf =