public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/marxin/heads/backport-11)] Fix previous ipa-modref patch Date: Tue, 24 Aug 2021 07:29:58 +0000 (GMT) [thread overview] Message-ID: <20210824072958.BCEE33857C53@sourceware.org> (raw) 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. */
reply other threads:[~2021-08-24 7:29 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210824072958.BCEE33857C53@sourceware.org \ --to=marxin@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).