https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66193
--- Comment #20 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:f3ffea93ef31c03ad8cdcb54e71ec868b57b264f commit r12-7153-gf3ffea93ef31c03ad8cdcb54e71ec868b57b264f Author: Harald Anlauf <anl...@gmx.de> Date: Sun Feb 6 21:47:20 2022 +0100 Fortran: try simplifications during reductions of array constructors gcc/fortran/ChangeLog: PR fortran/66193 * arith.cc (reduce_binary_ac): When reducing binary expressions, try simplification. Handle case of empty constructor. (reduce_binary_ca): Likewise. gcc/testsuite/ChangeLog: PR fortran/66193 * gfortran.dg/array_constructor_55.f90: New test.