[PATCH] PR fortran/91649 -- Add additional checking for FINDLOC
Steve Kargl
sgk@troutmask.apl.washington.edu
Thu Oct 10 23:08:00 GMT 2019
The attached patch has been tested on x86_64-*-freebsd.
OK to commit?
The patch adds additional check for the ARRAY and VALUE
arguments. First, ARRAY and VALUE need to be type
conformant, but gfortran did not check for the CHARACTER
type nor for numeric types. Second, ARRAY must be an
intrinsic type, which implies that VALUE must also be
an intrinsic type.
2019-10-10 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/91649
check.c (gfc_check_findloc): Additional checking for valid arguments
2019-10-10 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/91649
* gfortran.dg/pr91649.f90
--
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr91649.diff
Type: text/x-diff
Size: 2633 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20191010/66fb72f5/attachment.bin>
More information about the Gcc-patches
mailing list