public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-5525] Fix handling of ignore_stores in ipa_merge_modref_summary_after_inlining
@ 2020-11-29 22:24 Jan Hubicka
  0 siblings, 0 replies; only message in thread
From: Jan Hubicka @ 2020-11-29 22:24 UTC (permalink / raw)
  To: gcc-cvs

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

commit r11-5525-gccea13715b2ae55d4a784c2031553461ebf13eba
Author: Jan Hubicka <jh@suse.cz>
Date:   Sun Nov 29 23:23:33 2020 +0100

    Fix handling of ignore_stores in ipa_merge_modref_summary_after_inlining
    
            * ipa-modref.c (ipa_merge_modref_summary_after_inlining): Fix
            handling of ignore_stores.

Diff:
---
 gcc/ipa-modref.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/ipa-modref.c b/gcc/ipa-modref.c
index 5ba8ff000f0..388b22987d6 100644
--- a/gcc/ipa-modref.c
+++ b/gcc/ipa-modref.c
@@ -3064,14 +3064,14 @@ ipa_merge_modref_summary_after_inlining (cgraph_edge *edge)
     {
       if (!(flags & (ECF_CONST | ECF_NOVOPS)))
 	to_info->loads->collapse ();
-      if (ignore_stores)
+      if (!ignore_stores)
 	to_info->stores->collapse ();
     }
   if (!callee_info_lto && to_info_lto)
     {
       if (!(flags & (ECF_CONST | ECF_NOVOPS)))
 	to_info_lto->loads->collapse ();
-      if (ignore_stores)
+      if (!ignore_stores)
 	to_info_lto->stores->collapse ();
     }
   if (callee_info || callee_info_lto)


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

only message in thread, other threads:[~2020-11-29 22:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-29 22:24 [gcc r11-5525] Fix handling of ignore_stores in ipa_merge_modref_summary_after_inlining 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).