https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108010
--- Comment #4 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:7d6512d102a5a4fb3939de95bce38d154512a19f commit r13-4545-g7d6512d102a5a4fb3939de95bce38d154512a19f Author: Harald Anlauf <anl...@gmx.de> Date: Wed Dec 7 21:50:23 2022 +0100 Fortran: handle zero-sized arrays in ctors with typespec [PR108010] gcc/fortran/ChangeLog: PR fortran/108010 * arith.cc (reduce_unary): Handle zero-sized arrays. (reduce_binary_aa): Likewise. gcc/testsuite/ChangeLog: PR fortran/108010 * gfortran.dg/pr108010.f90: New test.