[PATCH] PR fortran/66545 -- Fix NULL pointer dereference
Steve Kargl
sgk@troutmask.apl.washington.edu
Wed Jul 1 20:52:00 GMT 2015
The attached patch avoid the dereference of a NULL pointer,
and thereby avoids an ICE. Regression tested on trunk.
OK to commit?
2015-07-01 Steven g. Kargl <kargl@gcc.gnu.org>
PR fortran/66545
* primary.c (match_sym_complex_part): Do not dereference NULL pointer.
2015-07-01 Steven g. Kargl <kargl@gcc.gnu.org>
PR fortran/66545
* gfortran.dg/pr66545_1.f90: New test.
* gfortran.dg/pr66545_2.f90: New test.
--
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr66545.diff
Type: text/x-diff
Size: 2280 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150701/77d8e36b/attachment.bin>
More information about the Gcc-patches
mailing list