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

--- Comment #2 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:5edd0802696f94012731306c704eaf61d184e09c

commit r13-277-g5edd0802696f94012731306c704eaf61d184e09c
Author: Harald Anlauf <anl...@gmx.de>
Date:   Mon May 9 22:14:21 2022 +0200

    Fortran: check TEAM arguments to coarray intrinsics

    TEAM arguments to coarray intrinsics must be scalar expressions of type
    TEAM_TYPE of intrinsic module ISO_FORTRAN_ENV.

    gcc/fortran/ChangeLog:

            PR fortran/105526
            * resolve.cc (check_team): New.
            (gfc_resolve_code): Add checks for arguments to coarray intrinsics
            FORM TEAM, CHANGE TEAM, and SYNC TEAM.

    gcc/testsuite/ChangeLog:

            PR fortran/105526
            * gfortran.dg/coarray_50.f90: New test.

Reply via email to