OSDN Git Service

2010-05-07 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 May 2010 11:55:21 +0000 (11:55 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:02:15 +0000 (14:02 +0900)
PR tree-optimization/44020
* tree-ssa-pre.c (execute_pre): Do not remove dead inserted
code when PRE is not yet initialized.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159150 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-ssa-pre.c

index a6a6be7..e455a98 100644 (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.
index 49dff65..514383d 100644 (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 ();