[PATCH] PR fortran/66942 -- avoid referencing a NULL C++ thing

Steve Kargl sgk@troutmask.apl.washington.edu
Tue Jul 21 19:08:00 GMT 2015


When C++ was injected into trans-expr.c in the form of vec,
it seems whomever did the conversion to vec forgot to check
for a NULL C++ thing.  This patch seems to avoid the problem,
but having zero knowledge of C++ I could be wrong.

OK for trunk?

2015-07-21  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/66942
	* trans-expr.c (gfc_conv_procedure_call): Avoid dereferencing NULL
	C++ thing.

-- 
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trans-expr.c.diff
Type: text/x-diff
Size: 914 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20150721/422b0c5c/attachment.bin>


More information about the Fortran mailing list