]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
cfghooks.c (delete_basic_block): Remove code to truncate edge vectors.
authorKazu Hirata <kazu@cs.umass.edu>
Thu, 4 Nov 2004 22:02:55 +0000 (22:02 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Thu, 4 Nov 2004 22:02:55 +0000 (22:02 +0000)
* cfghooks.c (delete_basic_block): Remove code to truncate
edge vectors.

From-SVN: r90081

gcc/ChangeLog
gcc/cfghooks.c

index 5f86d22de86fb619aed0b1b36fe62ecca083237f..f7565153e241ecad8c6d6d5f805bc8e986457c1c 100644 (file)
@@ -1,3 +1,8 @@
+2004-11-04  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * cfghooks.c (delete_basic_block): Remove code to truncate
+       edge vectors.
+
 2004-11-04  Andrew Pinski  <pinskia@physics.uc.edu>
 
        * flow.c (init_propagate_block_info): Change the type of i to 
index 46e0f8c67eab138547cb5f72f1628a00c768c7dc..00f4562d81ed0f85f55391ff1ac9aa575c7ee002 100644 (file)
@@ -368,9 +368,6 @@ delete_basic_block (basic_block bb)
   while (EDGE_COUNT (bb->succs) != 0)
     remove_edge (EDGE_SUCC (bb, 0));
 
-  VEC_truncate (edge, bb->preds, 0);
-  VEC_truncate (edge, bb->succs, 0);
-
   if (dom_computed[CDI_DOMINATORS])
     delete_from_dominance_info (CDI_DOMINATORS, bb);
   if (dom_computed[CDI_POST_DOMINATORS])