[Bug fortran/66043] ICE on storage_size of null or output of null array

kargl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 19 17:38:00 GMT 2015


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

--- Comment #5 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Tue May 19 17:37:42 2015
New Revision: 223401

URL: https://gcc.gnu.org/viewcvs?rev=223401&root=gcc&view=rev
Log:
2015-05-19  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/66043
        * check.c (gfc_check_storage_size): Prevent the direct use of NULL()
        in STORAGE_SIZE() reference.

2015-05-19  Steven G. Kargl  <kargl@gcc.gnu.org>

        PR fortran/66043
        * gfortran.dg/storage_size_6.f90: New tests.

Added:
    branches/gcc-5-branch/gcc/testsuite/gfortran.dg/storage_size_6.f90
Modified:
    branches/gcc-5-branch/gcc/fortran/ChangeLog
    branches/gcc-5-branch/gcc/fortran/check.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list