This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/20248] gfortran: intrinsics and std=f95, inconsistency with other compilers


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]