[Bug fortran/103789] ICE when providing kind argument to mask{l,r}

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 17 10:50:35 GMT 2022


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

--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Mikael Morin
<mikael@gcc.gnu.org>:

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

commit r11-9471-gd7a44809924297a2ff26b6b1d040c72c22f07346
Author: Mikael Morin <mikael@gcc.gnu.org>
Date:   Mon Jan 17 11:45:46 2022 +0100

    Fortran: Ignore KIND argument of a few more intrinsics. [PR103789]

    After PR97896 for which some code was added to ignore the KIND argument
    of the INDEX intrinsics, and PR87711 for which that was extended to
LEN_TRIM
    as well, this propagates it further to MASKL, MASKR, SCAN and VERIFY.

            PR fortran/103789

    gcc/fortran/ChangeLog:

            * trans-array.c (arg_evaluated_for_scalarization): Add MASKL,
MASKR,
            SCAN and VERIFY to the list of intrinsics whose KIND argument is to
be
            ignored.

    (cherry picked from commit c1c17a43e172ebc28f2cd247f6e83c5fdbc6219f)


More information about the Gcc-bugs mailing list