[PATCH] Fortran : ICE in gfc_check_reshape PR95585

Jerry DeLisle jvdelisle2@gmail.com
Tue Jul 14 03:13:17 GMT 2020


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  <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.
>
>



More information about the Gcc-patches mailing list