[PATCH] PR fortran/87907 -- Don't dereference a NULL pointer
Paul Richard Thomas
paul.richard.thomas@gmail.com
Wed Jun 19 16:26:00 GMT 2019
Hi Steve,
I'm surprised that you didn't commit as obvious :-) OK for trunk.
Thanks
Paul
On Tue, 18 Jun 2019 at 20:30, Steve Kargl
<sgk@troutmask.apl.washington.edu> wrote:
>
> The attach patch has been regression tested on x86_64-*-freebsd.
> If the pointer is NULL, the function simply returns. It seems
> that gfortran then does the Right Thing. OK to commit?
>
> 2019-06-18 Steven G. Kargl <kargl@gcc.gnu.org>
>
> PR fortran/87907
> * resolve.c (resolve_contained_fntype): Do not dereference a NULL
> pointer.
>
> 2019-06-18 Steven G. Kargl <kargl@gcc.gnu.org>
>
> PR fortran/87907
> * gfortran.dg/pr87907.f90: New testcase.
>
>
> --
> Steve
--
"If you can't explain it simply, you don't understand it well enough"
- Albert Einstein
More information about the Gcc-patches
mailing list