public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/100923] wrong code at -O2 and above on x86_64-linux-gnu Date: Sun, 06 Jun 2021 20:57:59 +0000 [thread overview] Message-ID: <bug-100923-4-N7GxUNrWUh@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-100923-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100923 Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|wrong code at -Os and above |wrong code at -O2 and above |on x86_64-linux-gnu |on x86_64-linux-gnu Ever confirmed|0 |1 Last reconfirmed| |2021-06-06 Status|UNCONFIRMED |NEW Keywords| |alias, wrong-code --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- - working (-O2 -fno-strict-aliasing) + not working (-O2 -fstrict-aliasing) - l.1_3 = l; - e.2_5 = e; - f.3_6 = f; - *e.2_5 = f.3_6; - _7 = *l.1_3; - if (_7 != 0) + l.1_4 = l; + _5 = *l.1_4; + e.2_6 = e; + f.3_7 = f; + *e.2_6 = f.3_7; + if (_5 != 0) So we swapped around the store to *e and the load from *l.
next prev parent reply other threads:[~2021-06-06 20:57 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-06-05 10:34 [Bug tree-optimization/100923] New: wrong code at -Os " zhendong.su at inf dot ethz.ch 2021-06-05 11:43 ` [Bug tree-optimization/100923] " zhendong.su at inf dot ethz.ch 2021-06-06 20:57 ` pinskia at gcc dot gnu.org [this message] 2021-06-06 20:58 ` [Bug tree-optimization/100923] [9/10/11/12 Regression] wrong code at -O2 " pinskia at gcc dot gnu.org 2021-06-06 21:02 ` pinskia at gcc dot gnu.org 2021-06-07 9:23 ` rguenth at gcc dot gnu.org 2021-06-07 10:20 ` rguenth at gcc dot gnu.org 2021-06-08 13:09 ` cvs-commit at gcc dot gnu.org 2021-06-08 13:10 ` [Bug tree-optimization/100923] [9/10/11 " rguenth at gcc dot gnu.org 2021-07-07 14:06 ` cvs-commit at gcc dot gnu.org 2021-11-22 8:02 ` [Bug tree-optimization/100923] [9/10 " rguenth at gcc dot gnu.org 2022-02-17 10:48 ` cvs-commit at gcc dot gnu.org 2022-05-27 9:05 ` [Bug tree-optimization/100923] [9 " rguenth at gcc dot gnu.org 2024-05-06 13:12 ` cvs-commit at gcc dot gnu.org
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-100923-4-N7GxUNrWUh@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).