public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/20434] pessimization of complex expression Date: Thu, 07 Jul 2005 09:14:00 -0000 [thread overview] Message-ID: <20050707091403.16434.qmail@sourceware.org> (raw) In-Reply-To: <20050311215610.20434.Thomas.Koenig@online.de> ------- Additional Comments From tkoenig at gcc dot gnu dot org 2005-07-07 09:14 ------- This appears to be fixed now in mainline: $ cat complex-parts.c #include <math.h> #include <complex.h> int main() { float cr,ci; float complex c; foo(&cr,&ci); c = cr+I*ci; return crealf(c)+cimagf(c)<0; } $ gcc -S -O3 -fdump-tree-optimized complex-parts.c $ tail -10 complex-parts.c.t82.optimized <unnamed type> D.2371; float cr.0; <bb 0>: foo (&cr, &ci); return cr + ci < 0.0; } $ gcc -v Using built-in specs. Target: ia64-unknown-linux-gnu Configured with: ../gcc-4.1-20050702/configure --prefix=/home/zfkts --enable- languages=c,f95 Thread model: posix gcc version 4.1.0 20050702 (experimental) -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Known to work| |4.1.0 Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20434
next prev parent reply other threads:[~2005-07-07 9:14 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-03-11 21:56 [Bug middle-end/20434] New: " Thomas dot Koenig at online dot de 2005-03-11 21:59 ` [Bug middle-end/20434] " Thomas dot Koenig at online dot de 2005-03-11 22:41 ` Andrew Pinski 2005-03-11 22:41 ` pinskia at physics dot uc dot edu 2005-03-11 22:49 ` Thomas dot Koenig at online dot de 2005-03-11 22:55 ` pinskia at gcc dot gnu dot org 2005-03-12 9:46 ` Thomas dot Koenig at online dot de 2005-03-12 18:07 ` pinskia at gcc dot gnu dot org 2005-03-12 23:13 ` Thomas dot Koenig at online dot de 2005-07-07 9:14 ` tkoenig at gcc dot gnu dot org [this message] [not found] <bug-20434-9515@http.gcc.gnu.org/bugzilla/> 2006-01-31 18:20 ` pinskia at gcc dot gnu dot 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=20050707091403.16434.qmail@sourceware.org \ --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).