re PR tree-optimization/67842 (Incorrect check in sese.h:bb_in_region)
authorRichard Biener <rguenther@suse.de>
Thu, 14 Dec 2017 14:53:40 +0000 (14:53 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 14 Dec 2017 14:53:40 +0000 (14:53 +0000)
2017-12-14  Richard Biener  <rguenther@suse.de>

PR tree-optimization/67842
* sese.h (bb_in_region): Remove #if 0'ed code.

From-SVN: r255636

gcc/ChangeLog
gcc/sese.h

index 4f97ca254ac84135eb7ef7d3cb2c2d1c2a7e0d76..b8a08268b9389d039566d222c4aa55de4770656e 100644 (file)
@@ -1,3 +1,8 @@
+2017-12-14  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/67842
+       * sese.h (bb_in_region): Remove #if 0'ed code.
+
 2017-12-14  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/83326
index cbc20ab10644ad1fa5306dad4f96bd9da87ba2eb..db17ff88b1aca0c41e4ca7c657eb6c58c9b09256 100644 (file)
@@ -120,20 +120,6 @@ sese_nb_params (sese_info_p region)
 static inline bool
 bb_in_region (const_basic_block bb, const_basic_block entry, const_basic_block exit)
 {
-  /* FIXME: PR67842.  */
-#if 0
-  if (flag_checking)
-    {
-      edge e;
-      edge_iterator ei;
-
-      /* Check that there are no edges coming in the region: all the
-        predecessors of EXIT are dominated by ENTRY.  */
-      FOR_EACH_EDGE (e, ei, exit->preds)
-       gcc_assert (dominated_by_p (CDI_DOMINATORS, e->src, entry));
-    }
-#endif
-
   return dominated_by_p (CDI_DOMINATORS, bb, entry)
         && !(dominated_by_p (CDI_DOMINATORS, bb, exit)
              && !dominated_by_p (CDI_DOMINATORS, entry, exit));