public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/42558]  New: [4.5 Regression] miscompilation related to -floop-block
@ 2009-12-30 21:07 jv244 at cam dot ac dot uk
  2009-12-30 21:08 ` [Bug middle-end/42558] " jv244 at cam dot ac dot uk
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: jv244 at cam dot ac dot uk @ 2009-12-30 21:07 UTC (permalink / raw)
  To: gcc-bugs

The attached testcase miscompiles as:

> gfortran -floop-block    -O2  -funroll-loops -ffast-math bug.f90
> ./a.out
   4.0000000000000000

> gfortran   -O2  -funroll-loops -ffast-math bug.f90
> ./a.out
   1.0000000000000000

> gfortran bug.f90> ./a.out
   1.0000000000000000

4.4 works fine, 4.5 miscompiles


-- 
           Summary: [4.5 Regression] miscompilation related to -floop-block
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jv244 at cam dot ac dot uk


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


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

end of thread, other threads:[~2010-02-06 19:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-30 21:07 [Bug middle-end/42558] New: [4.5 Regression] miscompilation related to -floop-block jv244 at cam dot ac dot uk
2009-12-30 21:08 ` [Bug middle-end/42558] " jv244 at cam dot ac dot uk
2009-12-30 21:10 ` jv244 at cam dot ac dot uk
2009-12-30 21:34 ` hjl dot tools at gmail dot com
2009-12-31 16:26 ` rguenth at gcc dot gnu dot org
2010-01-02 16:17 ` [Bug tree-optimization/42558] " rguenth at gcc dot gnu dot org
2010-02-06 16:44 ` [Bug tree-optimization/42558] [4.5 Regression][graphite] " spop at gcc dot gnu dot org
2010-02-06 18:08 ` dominiq at lps dot ens dot fr
2010-02-06 19:42 ` sebpop at gmail dot com

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