http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51081
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-11-10 14:47:42 UTC --- (In reply to comment #1) > subroutine int2() > 1 > Error: FUNCTION attribute conflicts with SUBROUTINE attribute in 'int2' at (1) Seemingly both INT and INT2 have some special meaning as for instance INT44 works. (Answer: INT2 is a GNU intrinsic to convert the argument to INTEGER(2).) Nevertheless, the code should be valid, unless one has used an explicit "intrinsic int" or "intrinsic int2".