https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108529
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-11 branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:60032329cde87a7505b7784e1dcfb09574ee2e90 commit r11-10506-g60032329cde87a7505b7784e1dcfb09574ee2e90 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)