[Bug fortran/105813] ICE in gfc_simplify_unpack, at fortran/simplify.cc:8490

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 24 20:29:37 GMT 2022


--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Harald Anlauf <anlauf@gcc.gnu.org>:


commit r13-1260-gf21f17f95c0237f4f987a5fa9f1fa9c7e0db3c40
Author: Harald Anlauf <anlauf@gmx.de>
Date:   Fri Jun 24 22:21:39 2022 +0200

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


            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.


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

More information about the Gcc-bugs mailing list