https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104573
--- 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:12463f1ecbcb30b39b8212454a6e598645123305 commit r12-7456-g12463f1ecbcb30b39b8212454a6e598645123305 Author: Harald Anlauf <anl...@gmx.de> Date: Tue Mar 1 23:13:17 2022 +0100 Fortran: error recovery after invalid assumed type declaration gcc/fortran/ChangeLog: PR fortran/104573 * resolve.cc (resolve_structure_cons): Avoid NULL pointer dereference when there is no valid component. gcc/testsuite/ChangeLog: PR fortran/104573 * gfortran.dg/assumed_type_14.f90: New test.