[Bug fortran/105986] ICE in gfc_convert_mpz_to_signed, at fortran/simplify.cc:193

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jun 18 16:57:40 GMT 2022


--- Comment #3 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-1165-g856a9b8fc2b457963898c539f0db92a1baa0bf27
Author: Harald Anlauf <anlauf@gmx.de>
Date:   Wed Jun 15 22:20:09 2022 +0200

    Fortran: check POS and LEN arguments simplifying bit intrinsics [PR105986]


            PR fortran/105986
            * simplify.cc (gfc_simplify_btest): Add check for POS argument.
            (gfc_simplify_ibclr): Add check for POS argument.
            (gfc_simplify_ibits): Add check for POS and LEN arguments.
            (gfc_simplify_ibset): Add check for POS argument.


            PR fortran/105986
            * gfortran.dg/check_bits_3.f90: New test.

More information about the Gcc-bugs mailing list