[Bug fortran/106911] 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 Dec 10 21:31:58 GMT 2022


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

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

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

commit r13-4595-gae4438537fbc2ed04f3b0fb32d4e02b0ed6977a1
Author: Harald Anlauf <anlauf@gmx.de>
Date:   Sat Dec 10 22:05:15 2022 +0100

    Fortran: reject bad SIZE argument while simplifying ISHFTC [PR106911]

    gcc/fortran/ChangeLog:

            PR fortran/106911
            * simplify.cc (gfc_simplify_ishftc): If the SIZE argument is known
            to be outside the allowed range, terminate simplification.

    gcc/testsuite/ChangeLog:

            PR fortran/106911
            * gfortran.dg/pr106911.f90: New test.


More information about the Gcc-bugs mailing list