public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/35695]  New: [4.3/4.4 regression] -funroll-loops breaks inline float divide
@ 2008-03-25 17:29 schwab at suse dot de
  2008-03-25 17:30 ` [Bug target/35695] " schwab at suse dot de
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: schwab at suse dot de @ 2008-03-25 17:29 UTC (permalink / raw)
  To: gcc-bugs

$ gcc -O2 div.c
$ ./a.out
 1.000000000000000 0.5000000000000000 0.5000000000000000 0.3333333333333333
$ gcc -O2 -funroll-loops div.c
$ ./a.out
 1.000000000000000 0.4999980926513672 0.4999980926513672 0.3333330154418945

With -funroll-loops the insn that computes e = 1 - (b * y) is optimized in cse2
to e = 0.


-- 
           Summary: [4.3/4.4 regression] -funroll-loops breaks inline float
                    divide
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: schwab at suse dot de
GCC target triplet: ia64-*-*


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35695


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2008-04-14 23:48 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-25 17:29 [Bug target/35695] New: [4.3/4.4 regression] -funroll-loops breaks inline float divide schwab at suse dot de
2008-03-25 17:30 ` [Bug target/35695] " schwab at suse dot de
2008-03-26  9:42 ` [Bug target/35695] [4.3/4.4 Regression] " rguenth at gcc dot gnu dot org
2008-03-27  5:53 ` wilson at tuliptree dot org
2008-03-27  5:55 ` wilson at gcc dot gnu dot org
2008-03-27 15:47 ` schwab at suse dot de
2008-03-27 17:18 ` schwab at suse dot de
2008-03-31 19:52 ` wilson at gcc dot gnu dot org
2008-03-31 20:23 ` wilson at gcc dot gnu dot org
2008-04-07 23:49 ` [Bug target/35695] [4.3 " wilson at gcc dot gnu dot org
2008-04-08  8:43 ` rguenther at suse dot de
2008-04-12 16:49 ` wilson at gcc dot gnu dot org
2008-04-14 23:48 ` wilson at gcc dot gnu dot org

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).