[Committed] PR fortran/88025 -- Null pointer no-no

Steve Kargl sgk@troutmask.apl.washington.edu
Sun Dec 9 03:14:00 GMT 2018


The attach patch guards against a NULL pointer deference
and removes asserts that cannot trigger.

2018-12-08  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/88025
	* expr.c (gfc_apply_init):  Remove asserts that cannot trigger.
	Check for a NULL pointer.

2018-12-08  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/88025
	* gfortran.dg/pr88025.f90: New test.

-- 
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: z_pr88025.diff
Type: text/x-diff
Size: 1253 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20181209/4dd3e413/attachment.bin>


More information about the Gcc-patches mailing list