This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/39692] f95: conflict between EXTERNAL and POINTER
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Apr 2009 08:39:34 -0000
- Subject: [Bug fortran/39692] f95: conflict between EXTERNAL and POINTER
- References: <bug-39692-16146@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from dominiq at lps dot ens dot fr 2009-04-09 08:39 -------
After removing the comment in the line
! f => sin
I get on powerpc-apple-darwin9, revision 145779:
[karma] f90/bug% gfc pr39692.f90
pr39692.f90:3.11:
external f
1
Error: EXTERNAL attribute conflicts with FUNCTION attribute at (1)
pr39692.f90:8.10:
f => sin
1
Error: Function 'sin' requires an argument list at (1)
If I comment the external declaration, I still get the same error for "f =>
sin".
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39692