]> gcc.gnu.org Git - gcc.git/commitdiff
ssa-dce.c (eliminate_dead_code): Remove fake edges from the CFG after dead code elimi...
authorJeffrey A Law <law@cygnus.com>
Thu, 28 Jun 2001 17:18:36 +0000 (17:18 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 28 Jun 2001 17:18:36 +0000 (11:18 -0600)
        * ssa-dce.c (eliminate_dead_code): Remove fake edges from the
        CFG after dead code elimination is complete.

From-SVN: r43641

gcc/ChangeLog
gcc/ssa-dce.c

index cffad14260c144308c1d934e4550d3d5f170ad01..d4022475295b99269dc2be34c77d313f02e7ceaf 100644 (file)
@@ -1,3 +1,8 @@
+Thu Jun 28 11:19:42 2001  Jeffrey A Law  (law@cygnus.com)
+
+       * ssa-dce.c (eliminate_dead_code): Remove fake edges from the
+       CFG after dead code elimination is complete.
+
 2001-06-28  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
 
        * gthr-posix.h [LIBOBJC]: Add weak definitions of
index ca0d998070b557956d946733122122c10764cc32..1629803b8e8865cee4340e6dbe0d9851c932b0c4 100644 (file)
@@ -39,7 +39,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
    out-of-date.  
 
    Edges from some infinite loops to the exit block can be added to
-   the control-flow graph.
+   the control-flow graph, but will be removed after this pass is
+   complete.
 
    It Does Not Perform:
    We decided to not simultaneously perform jump optimization and dead
@@ -606,6 +607,9 @@ eliminate_dead_code ()
       delete_insn_bb (insn);
   });
   
+  /* Remove fake edges from the CFG.  */
+  remove_fake_edges ();
+
   /* Release allocated memory.  */
   for (insn = get_insns (); insn != NULL_RTX; insn = NEXT_INSN (insn))
     RESURRECT_INSN (insn);
This page took 0.075083 seconds and 5 git commands to generate.