[Bug fortran/36325] specific or generic INTERFACE implies the EXTERNAL attribute
janus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun May 25 22:33:00 GMT 2008
------- Comment #8 from janus at gcc dot gnu dot org 2008-05-25 22:33 -------
The failure of proc_decl_9.f90 was actually due to a bug that slipped in with
my procedure declaration update patch from May 1st, which I have fixed now.
So we're left with gomp/reduction3.f90, which contains this piece of code:
interface
function ior (a, b)
integer :: ior, a, b
end function
end interface
intrinsic ior
This produces:
intrinsic ior
1
Error: EXTERNAL attribute conflicts with INTRINSIC attribute at (1)
I haven't checked the standard on this, but I bet the code is illegal.
And after all: Why should one declare an explicit interface for an intrinsic
(whose interface is known anyway) ...?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36325
More information about the Gcc-bugs
mailing list