This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33945] PROCEDURE in module somtimes wrongly rejected
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Nov 2007 06:35:28 -0000
- Subject: [Bug fortran/33945] PROCEDURE in module somtimes wrongly rejected
- References: <bug-33945-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from jvdelisle at gcc dot gnu dot org 2007-11-02 06:35 -------
The statement:
procedure x
is an F2003 feature allowing the word 'module' preceding as optional.
If I use 'module procedure x' the test case compiles OK for me. I think I may
have fixed this with my pr33162 patch. I seem to remember bumping into this
'Duplicate PROCEDURE attribute specified' error somewhere along the way.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33945