public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] [graphite] PR67842 Remove dead code.
@ 2015-12-25  1:31 hiraditya
  0 siblings, 0 replies; only message in thread
From: hiraditya @ 2015-12-25  1:31 UTC (permalink / raw)
  To: hiraditya; +Cc: sebpop, gcc-patches

This check is not relevant anymore. Removing.

gcc/ChangeLog:

2015-12-24  hiraditya  <hiraditya@msn.com>

        * sese.h (bb_in_region): Remove dead code.
---
 gcc/sese.h | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/gcc/sese.h b/gcc/sese.h
index 99df354..f7e5570 100644
--- a/gcc/sese.h
+++ b/gcc/sese.h
@@ -135,20 +135,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));
-- 
2.1.4

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-12-25  1:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-25  1:31 [PATCH] [graphite] PR67842 Remove dead code hiraditya

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).