[Fortran, Patch] PR36462 - fix INDEX/SCAN with KIND= and not BACK= argument

Tobias Burnus burnus@net-b.de
Thu Jun 12 10:26:00 GMT 2008


The library versions of INDEX/SCAN library functions take as argument 
only the two strings and then a logical for BACK=.

However, in the FE the value of the third (present) argument was passed, 
which was the kind value if BACK= was not present.

Build and lightly tested. (I will do a full check-gfortran later.)
OK when the test succeeds?

Tobias
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: index.diff
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20080612/abd20d50/attachment.ksh>


More information about the Fortran mailing list