http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57296
Antti-Pekka Hynninen <antti.pekka.hynninen at nrel dot gov> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Antti-Pekka Hynninen <antti.pekka.hynninen at nrel dot gov> --- (In reply to Antti-Pekka Hynninen from comment #2) > (In reply to Dominique d'Humieres from comment #1) > > Works for me on x86_64-apple-darwin10 (OSX 10.6.8) for both 4.8.0 and trunk. > > Where did you get your gfortran? Does -fno-aggressive-loop-optimizations > > help? > > Thanks for checking! > > I believe I got it from "http://hpc.sourceforge.net/". The full version is: > GNU Fortran (GCC) 4.8.0 20120603 (experimental) > > My version of gfortran does not have that option. > > I'll try to compile gfortran from the source and see if the bug goes away. Ok, the code works after I compiled gfortran from sources. My current version is GNU Fortran (GCC) 4.8.1 20130515 (prerelease) I'm changing the status to resolved.