This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/20248] gfortran: intrinsics and std=f95, inconsistency with other compilers
- From: "sgk at troutmask dot apl dot washington dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Mar 2005 01:02:17 -0000
- Subject: [Bug fortran/20248] gfortran: intrinsics and std=f95, inconsistency with other compilers
- References: <20050228131630.20248.anlauf@hep.tu-darmstadt.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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