[Bug fortran/93366] ICE: Invalid expression in gfc_element_size

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 5 20:17:15 GMT 2020


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

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Harald Anlauf <anlauf@gcc.gnu.org>:

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

commit r11-120-g5a26ea7e0f8b9a00a2eb0a5e8f70efa04056f167
Author: Harald Anlauf <anlauf@gmx.de>
Date:   Tue May 5 22:16:50 2020 +0200

    PR fortran/93366 - ICE on invalid, reject invalid use of NULL() as argument

    gcc/fortran/ChangeLog:

    2020-05-05  Steve Kargl  <kargl@gcc.gnu.org>
            Harald Anlauf  <anlauf@gmx.de>

            PR fortran/93366
            * check.c (gfc_check_associated, invalid_null_arg): Factorize
            check for presence of invalid NULL() argument.
            (gfc_check_kind, gfc_check_merge, gfc_check_shape)
            (gfc_check_sizeof, gfc_check_spread, gfc_check_transfer): Use this
            check for presence of invalid NULL() arguments.

    gcc/testsuite/ChangeLog:

    2020-05-05  Harald Anlauf  <anlauf@gmx.de>

            PR fortran/93366
            * gfortran.dg/pr93366.f90: New test.


More information about the Gcc-bugs mailing list