[Bug fortran/51081] Proc-pointer assignment: Rejects valid internal proc, -std=f2008 should mention "F2008"
burnus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Nov 10 15:01:00 GMT 2011
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".
More information about the Gcc-bugs
mailing list