This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/51081] Proc-pointer assignment: Rejects valid internal proc, -std=f2008 should mention "F2008"


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]