[Bug fortran/107707] ICE in gfc_compare_actual_formal, at fortran/interface.cc:3284

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 16 21:51:46 GMT 2022


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

--- 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>:

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

commit r13-4113-gbdd784fc48a283d54f5f1e3cc2a0668c14dd3bee
Author: Steve Kargl <kargl@gcc.gnu.org>
Date:   Wed Nov 16 22:46:55 2022 +0100

    Fortran: ICE on procedure arguments with non-integer length [PR107707]

    gcc/fortran/ChangeLog:

            PR fortran/107707
            * interface.cc (gfc_compare_actual_formal): Check that we actually
            have integer values before asking gmp_* to use them.

    gcc/testsuite/ChangeLog:

            PR fortran/107707
            * gfortran.dg/pr107707.f90: New test.


More information about the Gcc-bugs mailing list