public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/107115] Wrong codegen from TBAA under stores that change effective type? Date: Fri, 07 Oct 2022 07:44:34 +0000 [thread overview] Message-ID: <bug-107115-4-4CQXI7H6MX@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-107115-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107115 --- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #7) > If we don't want to treat such copies as noop moves, then either we need to > change rtx_equal_p such that it will say MEMs aren't equal if the the alias > sets are different But in other context we can treat them as equal ... > or should tweak in the same spirit the i386.md peephole2 > and set_noop_p (and perhaps some other spot). Yep, we've been playing whack-a-mole already, so we should just continue and fix places that pop up with this issue. > But if we do either of that, > it would be nice to get rid of the for assembly actually noop move later on > shortly before expansion or emit it as nothing, because assembler then > doesn't care about alias sets. We eventually could do a flag_strict_aliasing = 0 at some point? Similar to the idea of doing flag_wrapv = 1 to allow more association.
next prev parent reply other threads:[~2022-10-07 7:44 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-10-01 20:00 [Bug middle-end/107115] New: " bugdal at aerifal dot cx 2022-10-01 23:34 ` [Bug rtl-optimization/107115] " pinskia at gcc dot gnu.org 2022-10-01 23:51 ` [Bug middle-end/107115] " pinskia at gcc dot gnu.org 2022-10-06 9:44 ` rguenth at gcc dot gnu.org 2022-10-06 12:20 ` cvs-commit at gcc dot gnu.org 2022-10-06 12:24 ` rguenth at gcc dot gnu.org 2022-10-06 15:19 ` amonakov at gcc dot gnu.org 2022-10-06 15:32 ` jakub at gcc dot gnu.org 2022-10-06 15:39 ` amonakov at gcc dot gnu.org 2022-10-06 19:04 ` pinskia at gcc dot gnu.org 2022-10-07 7:41 ` rguenth at gcc dot gnu.org 2022-10-07 7:44 ` rguenth at gcc dot gnu.org [this message] 2022-10-07 13:19 ` amonakov at gcc dot gnu.org 2022-12-27 22:19 ` gabravier at gmail dot com 2022-12-27 22:21 ` gabravier at gmail dot com
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=bug-107115-4-4CQXI7H6MX@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@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).