https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106985
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Harald Anlauf <[email protected]>: https://gcc.gnu.org/g:12cd4a7c465b1a0874f5bc4419bd19d8041a8e2a commit r10-11011-g12cd4a7c465b1a0874f5bc4419bd19d8041a8e2a Author: Harald Anlauf <[email protected]> Date: Tue Sep 20 22:23:43 2022 +0200 Fortran: NULL pointer dereference in invalid simplification [PR106985] gcc/fortran/ChangeLog: PR fortran/106985 * expr.c (gfc_simplify_expr): Avoid NULL pointer dereference. gcc/testsuite/ChangeLog: PR fortran/106985 * gfortran.dg/pr106985.f90: New test. (cherry picked from commit 8dbb15bc2d019488240c1e69d93121b0347ac092)
