re PR middle-end/44020 (Failed to build 200.sixtrack in SPEC CPU 2K)

2010-05-07  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/44020
	* tree-ssa-pre.c (execute_pre): Do not remove dead inserted
	code when PRE is not yet initialized.

From-SVN: r159150
This commit is contained in:
Richard Guenther 2010-05-07 11:55:21 +00:00 committed by Richard Biener
parent e196071223
commit a7d4562a9d
2 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2010-05-07 Richard Guenther <rguenther@suse.de>
PR tree-optimization/44020
* tree-ssa-pre.c (execute_pre): Do not remove dead inserted
code when PRE is not yet initialized.
2010-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config/mips/dbxmdebug.h: Remove.

View File

@ -4710,17 +4710,14 @@ execute_pre (bool do_fre)
if (!run_scc_vn (do_fre))
{
if (!do_fre)
{
remove_dead_inserted_code ();
loop_optimizer_finalize ();
}
loop_optimizer_finalize ();
return 0;
}
init_pre (do_fre);
scev_initialize ();
/* Collect and value number expressions computed in each basic block. */
compute_avail ();