This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/42479] New: Wrong-code for induct.f90 with " -O3 -floop-block"
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Dec 2009 13:54:31 -0000
- Subject: [Bug middle-end/42479] New: Wrong-code for induct.f90 with " -O3 -floop-block"
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
At revision 155425 the executable for induct.f90 compiled with " -O3
-floop-block" gives:
...
Maximum wand/quad abs rel mutual inductance = 1.84138324899744549E-002
...
instead of
...
Maximum wand/quad abs rel mutual inductance = 5.95379428444659381E-002
...
when compiled with "-O2 -floop-block".
Note that the wrong code runs in ~8.5s, while the fastest right code runs in
~14s.
--
Summary: Wrong-code for induct.f90 with " -O3 -floop-block"
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dominiq at lps dot ens dot fr
GCC build triplet: x86_64-apple-darwin10
GCC host triplet: x86_64-apple-darwin10
GCC target triplet: x86_64-apple-darwin10
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42479