http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49149
--- Comment #12 from Zaak <zbeekman at gmail dot com> 2011-09-01 01:14:40 UTC --- > Can you show me a specific passage in the GNU Make documentation > that states -M can be used to generate dependencies for > Fortran USE statements without the actual *.mod being > present? Bullet number 7 in the what's new in gfortran section for the current stable release, 4.6.0: http://gcc.gnu.org/wiki/GFortran#GCC4.6 ' Support the generation of Makefile dependencies via the `-M...` flags of GCC; you may need to specify additionally the -cpp option. The dependencies take modules, Fortran's include, and CPP's #include into account. Note: Using -M for the module path is no longer supported, use -J instead.' It seems that this is a new feature and the documentation lags the implementation. Being a new feature I thought it was important to report what appears to me to be an important new bug (if I am interpreting the above statement correctly). Note also that Intel has recently added this capability to their Fortran compiler and they too have (different) bugs.