public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "vermaelen.wouter at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/53117] missed-optimization: worse code for 'x <= 0' compared to 'x < 0' Date: Wed, 25 Apr 2012 15:31:00 -0000 [thread overview] Message-ID: <bug-53117-4-jk2Q7bxLjb@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-53117-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53117 --- Comment #3 from Wouter Vermaelen <vermaelen.wouter at gmail dot com> 2012-04-25 15:30:42 UTC --- @Jakub: At first I was puzzled by your comment. But after some investigation I found out that this 'optimization' is indeed not possible when the subtraction would underflow. So you can close this bug report as invalid. (OTOH signed overflow is anyway undefined behavior in C).
next prev parent reply other threads:[~2012-04-25 15:31 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-04-25 14:21 [Bug rtl-optimization/53117] New: " vermaelen.wouter at gmail dot com 2012-04-25 14:26 ` [Bug rtl-optimization/53117] " jakub at gcc dot gnu.org 2012-04-25 14:28 ` [Bug target/53117] " rguenth at gcc dot gnu.org 2012-04-25 15:31 ` vermaelen.wouter at gmail dot com [this message] 2021-12-15 1:43 ` 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-53117-4-jk2Q7bxLjb@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).