https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107680
--- 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:713dcfc85ebbabaf74a1bcbac4ba1143519b31d6 commit r13-4106-g713dcfc85ebbabaf74a1bcbac4ba1143519b31d6 Author: Harald Anlauf <anl...@gmx.de> Date: Tue Nov 15 21:20:20 2022 +0100 Fortran: ICE in simplification of array expression involving power [PR107680] gcc/fortran/ChangeLog: PR fortran/107680 * arith.cc (arith_power): Check that operands are properly converted before attempting to simplify. gcc/testsuite/ChangeLog: PR fortran/107680 * gfortran.dg/pr107680.f90: New test.