OK to commit and Backport.

On 6/18/20 1:11 AM, Mark Eggleston wrote:
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  <ka...@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 <markeggles...@gcc.gnu.org>

gcc/testsuite/

    PR fortran/95585
    * gfortran.dg/pr95585.f90: New test.



Reply via email to