From: Richard Guenther Date: Fri, 7 May 2010 11:55:21 +0000 (+0000) Subject: re PR middle-end/44020 (Failed to build 200.sixtrack in SPEC CPU 2K) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a7d4562a9dbfb36426900a9e6beb053aaa1d0ecb;p=gcc.git re PR middle-end/44020 (Failed to build 200.sixtrack in SPEC CPU 2K) 2010-05-07 Richard Guenther 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a6a6be767c9..e455a98d2a5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-05-07 Richard Guenther + + 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 * config/mips/dbxmdebug.h: Remove. diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c index 49dff65b37f..514383d7773 100644 --- a/gcc/tree-ssa-pre.c +++ b/gcc/tree-ssa-pre.c @@ -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 ();