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

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Harald Anlauf
<anl...@gcc.gnu.org>:

https://gcc.gnu.org/g:eb4336f546b2a770717af608c79b4d46f45ef7c2

commit r12-8529-geb4336f546b2a770717af608c79b4d46f45ef7c2
Author: Harald Anlauf <anl...@gmx.de>
Date:   Fri Jun 24 22:21:39 2022 +0200

    Fortran: fix checking of arguments to UNPACK when MASK is a variable
[PR105813]

    gcc/fortran/ChangeLog:

            PR fortran/105813
            * check.cc (gfc_check_unpack): Try to simplify MASK argument to
            UNPACK so that checking of the VECTOR argument can work when MASK
            is a variable.

    gcc/testsuite/ChangeLog:

            PR fortran/105813
            * gfortran.dg/unpack_vector_1.f90: New test.

    (cherry picked from commit f21f17f95c0237f4f987a5fa9f1fa9c7e0db3c40)

Reply via email to