https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103259
--- Comment #6 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:7e9f20f5517429cfaadec14d6b04705e59078565 commit r13-5743-g7e9f20f5517429cfaadec14d6b04705e59078565 Author: Steve Kargl <ka...@gcc.gnu.org> Date: Tue Feb 7 20:18:42 2023 +0100 Fortran: error handling of global entity appearing in COMMON block [PR103259] gcc/fortran/ChangeLog: PR fortran/103259 * resolve.cc (resolve_common_vars): Avoid NULL pointer dereference when a symbol's location is not set. gcc/testsuite/ChangeLog: PR fortran/103259 * gfortran.dg/pr103259.f90: New test.