https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108529
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:b66a0f2fecb4dc1ac5960ff5d630ab8f672b4106 commit r10-11198-gb66a0f2fecb4dc1ac5960ff5d630ab8f672b4106 Author: Harald Anlauf <anl...@gmx.de> Date: Tue Jan 24 21:39:43 2023 +0100 Fortran: ICE in transformational_result [PR108529] gcc/fortran/ChangeLog: PR fortran/108529 * simplify.c (simplify_transformation): Do not try to simplify transformational intrinsic when the ARRAY argument has a NULL shape. gcc/testsuite/ChangeLog: PR fortran/108529 * gfortran.dg/pr108529.f90: New test. (cherry picked from commit 6c96382eed96a9285611f2e3e2e59557094172b8)