]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
cfganal.c (find_unreachable_blocks): Manually CSE load of e->dest.
authorJeff Law <law@redhat.com>
Mon, 21 Feb 2005 16:21:00 +0000 (09:21 -0700)
committerJeff Law <law@gcc.gnu.org>
Mon, 21 Feb 2005 16:21:00 +0000 (09:21 -0700)
        * cfganal.c (find_unreachable_blocks): Manually CSE load of
        e->dest.

From-SVN: r95334

gcc/ChangeLog
gcc/cfganal.c

index 6efa2c8a64e855c181ea588548f02ce790b5841b..37cf2fbec929dfbf0b935d6f5b38c8863b903d12 100644 (file)
@@ -1,3 +1,8 @@
+2005-02-21  Jeff Law  <law@redhat.com>
+
+       * cfganal.c (find_unreachable_blocks): Manually CSE load of
+       e->dest.
+
 2005-02-21  Kazu Hirata  <kazu@cs.umass.edu>
 
        * tree-outof-ssa.c (SSANORM_REMOVE_ALL_PHIS): Remove.
index f23225352439c87127db78d4c66b2414507a145c..45e9590b3a36eb6fc6873863ea8e7aeee4cbfc82 100644 (file)
@@ -308,11 +308,15 @@ find_unreachable_blocks (void)
       basic_block b = *--tos;
 
       FOR_EACH_EDGE (e, ei, b->succs)
-       if (!(e->dest->flags & BB_REACHABLE))
-         {
-           *tos++ = e->dest;
-           e->dest->flags |= BB_REACHABLE;
-         }
+       {
+         basic_block dest = e->dest;
+
+         if (!(dest->flags & BB_REACHABLE))
+           {
+             *tos++ = dest;
+             dest->flags |= BB_REACHABLE;
+           }
+       }
     }
 
   free (worklist);