[gfortran,patch] Add KIND argument to a bunch of intrinsics (F2003)

FX Coudert fxcoudert@gmail.com
Wed Aug 8 23:32:00 GMT 2007


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

Bootstrapped and regtested on x86_64-linux. Since cleaning the patch  
for formal review took me more time than I expected, I haven't yet  
dejagnu-fied my testcases, which I'll make sure to add before  
committing. OK for mainline?

FX

-------------- next part --------------
A non-text attachment was scrubbed...
Name: intrinsics_kind.ChangeLog
Type: application/octet-stream
Size: 1818 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20070808/ca37b926/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: intrinsics_kind.diff
Type: application/octet-stream
Size: 48346 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20070808/ca37b926/attachment-0001.obj>


More information about the Fortran mailing list