https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103692

--- Comment #8 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:31677c2cbd1b725e7f46d6cc7c3353f0e4748f32

commit r10-10410-g31677c2cbd1b725e7f46d6cc7c3353f0e4748f32
Author: Harald Anlauf <anl...@gmx.de>
Date:   Mon Jan 17 22:52:08 2022 +0100

    Fortran: handle expansion of zero-sized array constructors

    gcc/fortran/ChangeLog:

            PR fortran/103692
            * array.c (gfc_expand_constructor): Handle zero-sized array
            constructors.

    gcc/testsuite/ChangeLog:

            PR fortran/103692
            * gfortran.dg/pr102520.f90: Adjust error messages.
            * gfortran.dg/pr103692.f90: New test.

    (cherry picked from commit 0d01a2722671bef37b931fd1f121e44b27e68268)

Reply via email to