https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85779
--- Comment #6 from kargl at gcc dot gnu.org --- Author: kargl Date: Fri May 25 19:45:57 2018 New Revision: 260776 URL: https://gcc.gnu.org/viewcvs?rev=260776&root=gcc&view=rev Log: 2018-05-25 Steven G. Kargl <ka...@gcc.gnu.org> PR fortran/85779 Backport from trunk * decl.c (gfc_match_derived_decl): Fix NULL pointer dereference. 2018-05-25 Steven G. Kargl <ka...@gcc.gnu.org> PR fortran/85779 Backport from trunk * gfortran.dg/pr85779_1.f90: New test. * gfortran.dg/pr85779_2.f90: Ditto. * gfortran.dg/pr85779_3.f90: Ditto. Added: branches/gcc-6-branch/gcc/testsuite/gfortran.dg/pr85779_1.f90 branches/gcc-6-branch/gcc/testsuite/gfortran.dg/pr85779_2.f90 branches/gcc-6-branch/gcc/testsuite/gfortran.dg/pr85779_3.f90 Modified: branches/gcc-6-branch/gcc/fortran/ChangeLog branches/gcc-6-branch/gcc/fortran/decl.c branches/gcc-6-branch/gcc/testsuite/ChangeLog