projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4b31d5
)
Fix handling of stores in modref_summary::useful_p
author
Jan Hubicka
<jh@suse.cz>
Sun, 27 Sep 2020 21:44:15 +0000
(23:44 +0200)
committer
Jan Hubicka
<jh@suse.cz>
Sun, 27 Sep 2020 21:44:15 +0000
(23:44 +0200)
* ipa-modref.c (modref_summary::useful_p): Fix testing of stores.
gcc/ipa-modref.c
patch
|
blob
|
history
diff --git
a/gcc/ipa-modref.c
b/gcc/ipa-modref.c
index 728c6c1523dbc03e0049e7addea7041165165c2e..6225552e41aecbf5539f3462ee50d126b82b7bf4 100644
(file)
--- 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 && !
load
s->every_base;
+ return stores && !
store
s->every_base;
}
/* Dump A to OUT. */