https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85780
--- Comment #4 from kargl at gcc dot gnu.org --- Author: kargl Date: Fri May 25 18:28:51 2018 New Revision: 260768 URL: https://gcc.gnu.org/viewcvs?rev=260768&root=gcc&view=rev Log: 2018-05-25 Steven G. Kargl <ka...@gcc.gnu.org> PR fortran/85780 Backport from trunk * resolve.c (resolve_fl_procedure): Avoid NULL dereference. 2018-05-25 Steven G. Kargl <ka...@gcc.gnu.org> PR fortran/85780 Backport from trunk * gfortran.dg/pr85780.f90: New test. Added: branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr85780.f90 Modified: branches/gcc-8-branch/gcc/fortran/ChangeLog branches/gcc-8-branch/gcc/fortran/resolve.c branches/gcc-8-branch/gcc/testsuite/ChangeLog