Commit ad78b8a6 by Eric Botcazou Committed by Eric Botcazou

re PR rtl-optimization/42775 (GCC fails to rebuild itself with STAGE1_CFLAGS=-O1)

	PR rtl-optimization/42775
	* cfgrtl.c (rest_of_pass_free_cfg): Recompute notes if delay slot
	scheduling is enabled.

From-SVN: r164458
parent 220c5f0c
2010-09-20 Eric Botcazou <ebotcazou@adacore.com>
PR rtl-optimization/42775
* cfgrtl.c (rest_of_pass_free_cfg): Recompute notes if delay slot
scheduling is enabled.
2010-09-20 Jakub Jelinek <jakub@redhat.com> 2010-09-20 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/45728 PR rtl-optimization/45728
......
...@@ -421,7 +421,10 @@ rest_of_pass_free_cfg (void) ...@@ -421,7 +421,10 @@ rest_of_pass_free_cfg (void)
/* The resource.c machinery uses DF but the CFG isn't guaranteed to be /* The resource.c machinery uses DF but the CFG isn't guaranteed to be
valid at that point so it would be too late to call df_analyze. */ valid at that point so it would be too late to call df_analyze. */
if (optimize > 0 && flag_delayed_branch) if (optimize > 0 && flag_delayed_branch)
df_analyze (); {
df_note_add_problem ();
df_analyze ();
}
#endif #endif
free_bb_for_insn (); free_bb_for_insn ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment