public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "bisqwit at iki dot fi" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/58195] Missed optimization opportunity when returning a conditional Date: Tue, 11 Mar 2014 13:28:00 -0000 [thread overview] Message-ID: <bug-58195-4-i2DbqIYcXt@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-58195-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58195 Joel Yliluoma <bisqwit at iki dot fi> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bisqwit at iki dot fi --- Comment #1 from Joel Yliluoma <bisqwit at iki dot fi> --- Problem confirmed on "gcc (GCC) 4.9.0 20140303 (experimental)" (SVN version) in both 32-bit and 64-bit mode using -Ofast. For comparison, Clang++ produces this instead (even on -O1): negl %edi movl %edi, %eax ret GCC misses an optimization opportunity here.
next prev parent reply other threads:[~2014-03-11 13:28 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-08-19 19:24 [Bug rtl-optimization/58195] New: " warp at iki dot fi 2014-03-11 13:28 ` bisqwit at iki dot fi [this message] 2014-03-11 13:32 ` [Bug tree-optimization/58195] " rguenth at gcc dot gnu.org 2014-03-11 13:44 ` glisse at gcc dot gnu.org 2020-04-10 9:24 ` bisqwit at iki dot fi 2021-05-24 7:14 ` pinskia at gcc dot gnu.org 2021-06-05 1:28 ` pinskia at gcc dot gnu.org 2021-11-17 9:56 ` pinskia at gcc dot gnu.org 2022-11-19 23:24 ` pinskia 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-58195-4-i2DbqIYcXt@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).