[PATCH] PR fortran/66942 -- avoid referencing a NULL C++ thing
Mikael Morin
mikael.morin@sfr.fr
Tue Jul 28 13:05:00 GMT 2015
Le 21/07/2015 21:08, Steve Kargl a écrit :
> 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.
>
Hello Steve,
I believe the vec API should have all that is necessary to handle this
automatically.
Did you try using vec_safe_splice?
Mikael
More information about the Fortran
mailing list