https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99349
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:b6aa7d45b502c01f8703c8d2cee2690f9aa8e282 commit r13-2382-gb6aa7d45b502c01f8703c8d2cee2690f9aa8e282 Author: Harald Anlauf <anl...@gmx.de> Date: Fri Sep 2 21:07:26 2022 +0200 Fortran: avoid NULL pointer dereference on invalid DATA constant [PR99349] gcc/fortran/ChangeLog: PR fortran/99349 * decl.cc (match_data_constant): Avoid NULL pointer dereference. gcc/testsuite/ChangeLog: PR fortran/99349 * gfortran.dg/pr99349.f90: New test. Co-authored-by: Steven G. Kargl <ka...@gcc.gnu.org>