[gcc(refs/users/kubaneko/heads/histogram)] deleted an assert to to test the if preheaders are needed in this case

Ondrej Kubanek kubaneko@gcc.gnu.org
Thu Feb 23 23:21:06 GMT 2023


https://gcc.gnu.org/g:27a79341b75cd46eb417f7a9bc6910eeffc768be

commit 27a79341b75cd46eb417f7a9bc6910eeffc768be
Author: Ondrej Kubanek <kubanek0ondrej@gmail.com>
Date:   Sat Aug 20 22:21:00 2022 +0200

    deleted an assert to to test the if preheaders are needed in this case

Diff:
---
 gcc/cfgloop.cc | 2 --
 1 file changed, 2 deletions(-)

diff --git a/gcc/cfgloop.cc b/gcc/cfgloop.cc
index ccda7415d70..8523c11fe95 100644
--- a/gcc/cfgloop.cc
+++ b/gcc/cfgloop.cc
@@ -1769,8 +1769,6 @@ loop_preheader_edge (const class loop *loop)
   edge e;
   edge_iterator ei;
 
-  gcc_assert (loops_state_satisfies_p (LOOPS_HAVE_PREHEADERS)
-	      && ! loops_state_satisfies_p (LOOPS_MAY_HAVE_MULTIPLE_LATCHES));
 
   FOR_EACH_EDGE (e, ei, loop->header->preds)
     if (e->src != loop->latch)


More information about the Gcc-cvs mailing list