------- Comment #4 from burnus at gcc dot gnu dot org 2010-01-25 08:30 ------- (In reply to comment #3) > Today I am not able to reproduce the error. The compiler is working. Where > exactly does the file m.mod reside? In the user directory or in a compiler > directory?
By default in the current directory - unless you used the option -J<directory> to specify a different one. Note: In order to help writing makefiles which have dependencies on the .mod files, gfortran only overwrites the .mod files if they have changed. Thus, to reproduce the problem, you could compile the program with a different compiler or an older version of GCC - or simply create in any editor the .mod file. (Modifying the Fortran module + running gfortran also produces a new .mod file, but I think works also without the patch of PR 40195.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42848