http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59107

--- Comment #2 from janus at gcc dot gnu.org ---
(In reply to janus from comment #1)
> Doing the same thing with a different intrinsic like 'cos' does not give the
> warning:
> 
>   Intrinsic :: cos
>   print *, cos(0.)
> End

However, it *does* so with GETGID, for example:

intrinsic :: getgid
print *, getgid()
end

GETGID is a GNU extension, in contrast to COMMAND_ARGUMENT_COUNT (which is
standard F03), but both are integer-valued functions without arguments.

The warning only appears with the INTRINSIC statement.

Reply via email to