"MODULE attribute conflicts with PROCEDURE attribute" this error message is not accurate enough. The conflicting attribute should be mentionned.
For instance in: module abc contain function abc() .... The conflicting attributes is the name of the module and the name of the function. this is valid for: GNU Fortran 95 (GCC) 4.1.0 20051015 (experimental) Copyright (C) 2005 Free Software Foundation, Inc. on Linux descartes 2.6.13-1.1526_FC4smp #1 SMP Wed Sep 28 19:28:24 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux -- Summary: MODULE attribute conflicts with PROCEDURE attribute Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: anglade at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24633