http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45827
--- Comment #17 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-10-01 08:13:37 UTC --- (In reply to comment #16) > I have checked the f90/f03 combination again, there DEFINITELY IS A > CORRELATION > between mixing dialects and the error. Using -std=f2003 also fixed the > problem. The file extensions should not have any influence (unless you use it in the Makefile to pass different flags); .f90 and .f03 simply tell the compiler that the file is in free format while .f indicates a fixed format. Thus, many compilers only recognize .f90 and not .f95/.f03/.f08. Some do (such as gfortran). -std=f2003 changes several things and thus could have some influence (though it shouldn't). I think there is somewhere a latent bug and maybe things like using -std=f2003 changes slightly the internal program path and the memory usage which allows it to pass or to fail. Though, without being able to reproduce it, it is extremely difficult to find the problem. :-(