This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/52275] The polyhedron test air.f90 is miscompiled with '-O2 -floop-flatten' after revision 184265


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]