[Bug fortran/39427] F2003: Procedures with same name as types/type constructors

burnus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Dec 3 21:02:00 GMT 2009



------- Comment #2 from burnus at gcc dot gnu dot org  2009-12-03 21:02 -------
Quote from the standard:

"12.3.2 Specification of the procedure interface" [...]
"A generic name may be the same as a derived-type name, in which case all of
the procedures in the interface block shall be functions."

Currently, one gets the message:
"Error: DERIVED attribute of 'foo' conflicts with PROCEDURE attribute at (1)"


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39427



More information about the Gcc-bugs mailing list