This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/51081] Proc-pointer assignment: Rejects valid internal proc, -std=f2008 should mention "F2008"
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 10 Nov 2011 14:47:42 +0000
- Subject: [Bug fortran/51081] Proc-pointer assignment: Rejects valid internal proc, -std=f2008 should mention "F2008"
- Auto-submitted: auto-generated
- References: <bug-51081-4@http.gcc.gnu.org/bugzilla/>
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".