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

--- Comment #5 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:54c5e064cc3dc3c9b3dff12b6d48dc3efd482b07

commit r12-8073-g54c5e064cc3dc3c9b3dff12b6d48dc3efd482b07
Author: Harald Anlauf <anl...@gmx.de>
Date:   Wed Apr 6 22:24:21 2022 +0200

    Fortran: fix checking of coshape specification in ALLOCATE statement

    gcc/fortran/ChangeLog:

            PR fortran/105184
            * array.cc (match_subscript): Reject assumed size coarray
            specification with missing lower bound.
            * resolve.cc (resolve_allocate_expr): Fix logic for checking
            allocate-coshape-spec in ALLOCATE statement.

    gcc/testsuite/ChangeLog:

            PR fortran/105184
            * gfortran.dg/coarray_44.f90: Adjust expected output.
            * gfortran.dg/coarray_allocate_11.f90: Likewise.
            * gfortran.dg/coarray_allocate_12.f90: New test.

Reply via email to