fortran : ICE in gfc_resolve_findloc PR93498
ICE occurs when findloc is used with character arguments of different kinds. If the character kinds are different reject the code. Original patch provided by Steven G. Kargl <kargl@gcc.gnu.org>. gcc/fortran/ChangeLog: PR fortran/93498 * check.c (gfc_check_findloc): If the kinds of the arguments differ goto label "incompat". gcc/testsuite/ChangeLog: PR fortran/93498 * gfortran.dg/pr93498_1.f90: New test. * gfortran.dg/pr93498_2.f90: New test.
Showing
gcc/testsuite/gfortran.dg/pr93498_1.f90
0 → 100644
gcc/testsuite/gfortran.dg/pr93498_2.f90
0 → 100644
Please
register
or
sign in
to comment