public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-3490] Fix handling of stores in modref_summary::useful_p
@ 2020-09-27 21:44 Jan Hubicka
0 siblings, 0 replies; only message in thread
From: Jan Hubicka @ 2020-09-27 21:44 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:e24817aa7a1c6d12039b486ab5ea9b5ee0a46cd4
commit r11-3490-ge24817aa7a1c6d12039b486ab5ea9b5ee0a46cd4
Author: Jan Hubicka <jh@suse.cz>
Date: Sun Sep 27 23:44:15 2020 +0200
Fix handling of stores in modref_summary::useful_p
* ipa-modref.c (modref_summary::useful_p): Fix testing of 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 728c6c1523d..6225552e41a 100644
--- a/gcc/ipa-modref.c
+++ b/gcc/ipa-modref.c
@@ -135,7 +135,7 @@ modref_summary::useful_p (int ecf_flags)
return true;
if (ecf_flags & ECF_PURE)
return false;
- return stores && !loads->every_base;
+ return stores && !stores->every_base;
}
/* Dump A to OUT. */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-09-27 21:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-27 21:44 [gcc r11-3490] Fix handling of stores in modref_summary::useful_p 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).