[Bug fortran/95612] [9/10/11 Regression] ICE in gfc_check_pointer_assign, at fortran/expr.c:4274

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jul 27 12:07:23 GMT 2020


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

--- 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:5574b84469263eeaa3e6b40da18b743d7b0fa5dd

commit r9-8769-g5574b84469263eeaa3e6b40da18b743d7b0fa5dd
Author: Mark Eggleston <markeggleston@gcc.gnu.org>
Date:   Thu Jun 11 11:05:40 2020 +0100

    Fortran  : ICE in gfc_check_pointer_assign PR95612

    Output an error if the right hand value is a zero sized array or
    does not have a symbol tree otherwise continue checking.

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

    gcc/fortran/

            PR fortran/95612
            * expr.c (gfc_check_pointer_assigb): Output an error if
            rvalue is a zero sized array or output an error if rvalue
            doesn't have a symbol tree.

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

    gcc/testsuite/

            PR fortran/95612
            * gfortran.dg/pr95612.f90: New test.

    (cherry picked from commit 81072bab8d1e48ee83d9711dcb559ea1e019b351)


More information about the Gcc-bugs mailing list