The attached file is compiled fine by gfortran. However, when the resulting module is USEd in another subprogram, then the following message results:
Fatal Error: Reading module m_common_attrs at line 44 column 39: Bad name This is with gfortran 4.3.0, 200710005, rev 127783 under Cygwin. -- Summary: gfortran creates module files it can't read. Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tow21 at cam dot ac dot uk http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33941