This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran,patch] Add KIND argument to a bunch of intrinsics (F2003)
- From: Thomas Koenig <tkoenig at alice-dsl dot net>
- To: FX Coudert <fxcoudert at gmail dot com>
- Cc: GNU Fortran <fortran at gcc dot gnu dot org>, gcc-patches list <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 12 Aug 2007 10:08:26 +0200
- Subject: Re: [gfortran,patch] Add KIND argument to a bunch of intrinsics (F2003)
- References: <AA0FDB8A-BF50-4646-84CD-DF309100DBFE@gmail.com>
On Thu, 2007-08-09 at 00:32 +0100, FX Coudert wrote:
> I had a rather long time in Edimburgh airport last week, and the only
> thing I could do to keep me from sleeping (or actually, trying to
> keep me from sleeping) was this rather mechanical patch to add a KIND
> argument to various intrinsics: COUNT, IACHAR, ICHAR, INDEX, LBOUND,
> LEN, LEN_TRIM, SCAN, SIZE, UBOUND and VERIFY. (A few others, like
> MINLOC and MAXLOC, need a bit more thinking.)
Hi FX,
IIRC, KIND arguments are F 2003, so they should raise warnings/errors
with -std=f95.
Thomas