re PR fortran/66043 (ICE on storage_size of null or output of null array)
commitce7fb7118f9b9215a7a0320071fb0e956fec2dd6
authorSteven G. Kargl <kargl@gcc.gnu.org>
Mon, 18 May 2015 21:52:03 +0000 (18 21:52 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Mon, 18 May 2015 21:52:03 +0000 (18 21:52 +0000)
treea5bad65a6692df1c301fc7f2c2576e82c753bb26
parent46b6b3542d8c47e285e4e606f889411e4739a886
re PR fortran/66043 (ICE on storage_size of null or output of null array)

2015-05-18  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-18  Steven G. Kargl  <kargl@gcc.gnu.org>

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

From-SVN: r223320
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/storage_size_6.f90 [new file with mode: 0644]