[PATCH] fortran/66043 -- Check for NULL() in STORAGE_SIZE()

Steve Kargl sgk@troutmask.apl.washington.edu
Fri May 15 14:59:00 GMT 2015


Regression tested on trunk. OK to commit? 

The patch shuold be self-explanatory.

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

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

-- 
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr66043.diff
Type: text/x-diff
Size: 1232 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20150515/a0bf2a08/attachment.bin>


More information about the Fortran mailing list