------- 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