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

FX Coudert fxcoudert@gmail.com
Sun Aug 12 19:59:00 GMT 2007


> IIRC, KIND arguments are F 2003, so they should raise warnings/errors
> with -std=f95.

Yeah, you're right, sorry for missing that. I've added the necessary  
checks. I've also factored out some code in trans-intrinsic.c (the  
INDEX, SCAN and VERIFY intrinsic have the same kind of arguments,  
only the function called is different).

Here's what I committed after regtesting on x86_64-linux: http:// 
gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127380

Thanks Jerry and Thomas,
FX



More information about the Fortran mailing list