Fix PR67842

Message ID alpine.LSU.2.20.1712141552160.12252@zhemvz.fhfr.qr
State New
Headers show
Series
  • Fix PR67842
Related show

Commit Message

Richard Biener Dec. 14, 2017, 2:52 p.m.
The PR says just remove the #if 0 code.  Done below, committed as obvious.

Richard.

2017-12-14  Richard Biener  <rguenther@suse.de>

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

Patch

Index: gcc/sese.h
===================================================================
--- gcc/sese.h	(revision 255622)
+++ gcc/sese.h	(working copy)
@@ -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));