[PATCH] Fortran : ICE in gfc_check_reshape PR95585
Mark Eggleston
mark.eggleston@codethink.co.uk
Thu Jun 18 08:11:53 GMT 2020
Please find attached fix for PR95585.
OK to commit and backport?
Commit message:
Fortran : ICE in gfc_check_reshape PR95585
Issue an error where an array is used before its definition
instead of an ICE.
2020-06-18 Steven G. Kargl <kargl@gcc.gnu.org>
gcc/fortran/
PR fortran/PR95585
*check.c (gfc_check_reshape): Add check for a value when
the symbol has an attribute flavor FL_PARAMETER.
2020-06-17 Mark Eggleston <markeggleston@gcc.gnu.org>
gcc/testsuite/
PR fortran/95585
* gfortran.dg/pr95585.f90: New test.
--
https://www.codethink.co.uk/privacy.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fortran-ICE-in-gfc_check_reshape-PR95585.patch
Type: text/x-patch
Size: 1822 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/fortran/attachments/20200618/fa103545/attachment.bin>
More information about the Fortran
mailing list