[Bug fortran/59107] Spurious "Type specified for intrinsic function 'command_argument_count' at (1) is ignored" under -Wsurprising.

janus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Nov 17 15:51:00 GMT 2013


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

--- Comment #4 from janus at gcc dot gnu.org ---
In fact the warning seems to happen for all intrinsics which are introduced by
'add_sym_0' in intrinsic.c (all those are functions without arguments), except
those from ISO_FORTRAN_ENV, since they are imported by a USE statement instead
of INTRINSIC.

For the intrinsics with arguments it does not seem to happen.



More information about the Gcc-bugs mailing list