public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/hubicka/heads/honza-gcc-benchmark-branch-v2)] Fix early unrolling.
@ 2021-10-08  8:44 Jan Hubicka
  0 siblings, 0 replies; only message in thread
From: Jan Hubicka @ 2021-10-08  8:44 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:dccdaa990097425600eab439107a6a919053e691

commit dccdaa990097425600eab439107a6a919053e691
Author: Jan Hubicka <jh@suse.cz>
Date:   Fri Oct 8 10:44:02 2021 +0200

    Fix early unrolling.

Diff:
---
 gcc/ipa-modref-tree.h | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/gcc/ipa-modref-tree.h b/gcc/ipa-modref-tree.h
index f3f6e123d67..6a9ed5ce54b 100644
--- a/gcc/ipa-modref-tree.h
+++ b/gcc/ipa-modref-tree.h
@@ -616,12 +616,7 @@ private:
 
 	  if (n->contains (*a))
 	    found = true;
-	  else if (a->contains (n))
-	    {
-	      *n = a;
-	      found = true;
-	    }
-	  else if (n->merge (*a, false))
+	  if (!found && n->merge (*a, false))
 	    found = restart = true;
 	  if (found)
 	    {


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

only message in thread, other threads:[~2021-10-08  8:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-08  8:44 [gcc(refs/users/hubicka/heads/honza-gcc-benchmark-branch-v2)] Fix early unrolling Jan Hubicka

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).