This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/52275] The polyhedron test air.f90 is miscompiled with '-O2 -floop-flatten' after revision 184265
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 16 Feb 2012 14:52:17 +0000
- Subject: [Bug tree-optimization/52275] The polyhedron test air.f90 is miscompiled with '-O2 -floop-flatten' after revision 184265
- Auto-submitted: auto-generated
- References: <bug-52275-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52275
--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-02-16 14:52:17 UTC ---
The subroutine SPECTOP has been the cause of pr42181. The two variants in
comment #22 behave the same way when compiled with '-O2 -floop-flatten', i.e.,
the variant with
if (j.ne.k) d1(k,j) = fctr/(x(k)-x(j))
is miscompiled.