[Bug fortran/95585] ICE in gfc_check_reshape, at fortran/check.c:4751

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jul 26 10:56:19 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95585

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Mark Eggleston
<markeggleston@gcc.gnu.org>:

https://gcc.gnu.org/g:5aa8760e31909d278f28d7d4bb1479d7607228c6

commit r9-8767-g5aa8760e31909d278f28d7d4bb1479d7607228c6
Author: Mark Eggleston <markeggleston@gcc.gnu.org>
Date:   Thu Jun 11 06:42:36 2020 +0100

    Fortran  : ICE in gfc_check_reshape PR95585

    Issue an error where an array is used before its definition
    instead of an ICE.

    2020-07-26  Steven G. Kargl  <kargl@gcc.gnu.org>

    gcc/fortran/

            PR fortran/95585
            * check.c (gfc_check_reshape): Add check for a value when
            the symbol has an attribute flavor FL_PARAMETER.

    2020-07-26  Mark Eggleston  <markeggleston@gcc.gnu.org>

    gcc/testsuite/

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

    (cherry picked from commit d9aed5f1ccffc019ddf980e349caa3d092755cb4)


More information about the Gcc-bugs mailing list