https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102520
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:0212bcfc31a938d4b2f247dc42f75b1d523bb1ef commit r11-9047-g0212bcfc31a938d4b2f247dc42f75b1d523bb1ef Author: Harald Anlauf <anl...@gmx.de> Date: Wed Sep 29 20:11:53 2021 +0200 Fortran: fix error recovery for invalid constructor gcc/fortran/ChangeLog: PR fortran/102520 * array.c (expand_constructor): Do not dereference NULL pointer. gcc/testsuite/ChangeLog: PR fortran/102520 * gfortran.dg/pr102520.f90: New test. (cherry picked from commit 5e2adfeed21ee584a82cdcdfa7eed41202eb67cd)