public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "aldyh at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/102546] Missed Dead Code Elimination regression (trunk vs 11.2.0) at -O3
Date: Thu, 30 Sep 2021 17:44:44 +0000 [thread overview]
Message-ID: <bug-102546-4-2ZmN7OqSbq@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-102546-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102546
--- Comment #3 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
> What I fail to see is how "a" got removed entirely from the IL, making this
> scenario possible:
>
> if (!(a >= d || f))
> foo();
What I meant to say is that I don't understand how "a" got removed from the IL
representing this:
if (!(a >= d || f))
foo();
Because it's the missing "a" which opens the door for the un-folded expression
here:
(f_8 << f_8) && (f_8 == 0)
next prev parent reply other threads:[~2021-09-30 17:44 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-30 13:22 [Bug tree-optimization/102546] New: " theodort at inf dot ethz.ch
2021-09-30 13:22 ` [Bug tree-optimization/102546] " theodort at inf dot ethz.ch
2021-09-30 17:21 ` aldyh at gcc dot gnu.org
2021-09-30 17:44 ` aldyh at gcc dot gnu.org [this message]
2021-09-30 22:50 ` [Bug tree-optimization/102546] [12 Regregression] " pinskia at gcc dot gnu.org
2021-10-01 6:30 ` rguenth at gcc dot gnu.org
2021-10-01 9:18 ` aldyh at gcc dot gnu.org
2021-10-01 9:19 ` aldyh at gcc dot gnu.org
2021-10-01 9:36 ` zhendong.su at inf dot ethz.ch
2021-10-01 13:02 ` amacleod at redhat dot com
2021-10-01 22:04 ` cvs-commit at gcc dot gnu.org
2021-10-01 22:05 ` aldyh at gcc dot gnu.org
2021-10-01 22:20 ` jakub at gcc dot gnu.org
2021-10-01 22:24 ` aldyh at redhat dot com
2021-10-01 22:38 ` jakub 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-102546-4-2ZmN7OqSbq@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: link
Be 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).