https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83874
--- Comment #8 from kargl at gcc dot gnu.org --- Author: kargl Date: Thu Jan 18 00:30:42 2018 New Revision: 256829 URL: https://gcc.gnu.org/viewcvs?rev=256829&root=gcc&view=rev Log: 2018-01-17 Harald Anlauf <anl...@gmx.de> Backport from mainline PR fortran/83874 * decl.c (add_init_expr_to_sym): Do not dereference NULL pointer. 2018-01-17 Harald Anlauf <anl...@gmx.de> Backport from mainline PR fortran/83874 * gfortran.dg/pr83874.f90: New test. Added: branches/gcc-7-branch/gcc/testsuite/gfortran.dg/pr83874.f90 Modified: branches/gcc-7-branch/gcc/fortran/ChangeLog branches/gcc-7-branch/gcc/fortran/decl.c branches/gcc-7-branch/gcc/testsuite/ChangeLog