http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57296
--- Comment #2 from Antti-Pekka Hynninen <antti.pekka.hynninen at nrel dot gov> --- (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.