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 <s...@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 <ka...@gcc.gnu.org> > > PR fortran/87907 > * resolve.c (resolve_contained_fntype): Do not dereference a NULL > pointer. > > 2019-06-18 Steven G. Kargl <ka...@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