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

https://gcc.gnu.org/g:3ddda29d6d98b8e7d7b5f69479631cc89828990d

commit r11-9247-g3ddda29d6d98b8e7d7b5f69479631cc89828990d
Author: Jan Hubicka <jh@suse.cz>
Date:   Thu Nov 18 19:03:54 2021 +0100

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

Diff:
---
 gcc/ipa-modref.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/ipa-modref.c b/gcc/ipa-modref.c
index 80f192d9025..ad55619443e 100644
--- a/gcc/ipa-modref.c
+++ b/gcc/ipa-modref.c
@@ -3203,6 +3203,7 @@ ipa_merge_modref_summary_after_inlining (cgraph_edge *edge)
 	    fprintf (dump_file, "Removed mod-ref summary for %s\n",
 		     to->dump_name ());
 	  summaries_lto->remove (to);
+	  to_info_lto = NULL;
 	}
       else if (to_info_lto && dump_file)
 	{
@@ -3210,7 +3211,6 @@ ipa_merge_modref_summary_after_inlining (cgraph_edge *edge)
 	    fprintf (dump_file, "Updated mod-ref summary for %s\n",
 		     to->dump_name ());
 	  to_info_lto->dump (dump_file);
-	  to_info_lto = NULL;
 	}
       if (callee_info_lto)
 	summaries_lto->remove (edge->callee);


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

only message in thread, other threads:[~2021-11-18 18:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-18 18:08 [gcc r11-9247] 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).