public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/marxin/heads/backport-11)] Fix previous ipa-modref patch
@ 2021-08-24 7:29 Martin Liska
0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2021-08-24 7:29 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:a43a01db1a0b12dcf739b4762c46f2372c6aab30
commit a43a01db1a0b12dcf739b4762c46f2372c6aab30
Author: Jan Hubicka <hubicka@ucw.cz>
Date: Mon Aug 23 16:16:25 2021 +0200
Fix previous ipa-modref patch
gcc/ChangeLog:
PR middle-end/101949
* ipa-modref.c (analyze_ssa_name_flags): Fix merging of
EAF_NOCLOBBER
(cherry picked from commit 5bd4ab91660c8f5534c46979d4846a4f1a0972b0)
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 dc5ee8cc2d0..80f192d9025 100644
--- a/gcc/ipa-modref.c
+++ b/gcc/ipa-modref.c
@@ -1628,7 +1628,7 @@ analyze_ssa_name_flags (tree name, vec<modref_lattice> &lattice, int depth,
is on since that would allow propagation of this from -fno-ipa-pta
to -fipa-pta functions. */
if (gimple_call_fn (use_stmt) == name)
- lattice[index].merge (~EAF_NOCLOBBER);
+ lattice[index].merge (~(EAF_NOCLOBBER | EAF_UNUSED));
/* Return slot optimization would require bit of propagation;
give up for now. */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-08-24 7:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-24 7:29 [gcc(refs/users/marxin/heads/backport-11)] Fix previous ipa-modref patch Martin Liska
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).