[Bug fortran/20248] gfortran: intrinsics and std=f95, inconsistency with other compilers
sgk at troutmask dot apl dot washington dot edu
gcc-bugzilla@gcc.gnu.org
Tue Mar 1 01:02:00 GMT 2005
------- Additional Comments From sgk at troutmask dot apl dot washington dot edu 2005-03-01 01:02 -------
Read the F2003 standard.
5.1.2.8 INTRINSIC attribute
The INTRINSIC attribute confirms that a name is the specific name (13.6) or
generic name (13.5) of an intrinsic procedure.
When you set -std=f95, iargc is not an intrinsic procedure. So, when
you ask gfortran to *confirm* that iargc is an intrinsic procedure,
it tells that it isn't. The default behavior for gfortran is -std=gnu,
which makes iargc an intrinsic procedure.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20248
More information about the Gcc-bugs
mailing list