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

--- Comment #12 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Harald Anlauf
<anl...@gcc.gnu.org>:

https://gcc.gnu.org/g:2965a4f925461d7814972845fe480e03856fe3fe

commit r10-11206-g2965a4f925461d7814972845fe480e03856fe3fe
Author: Harald Anlauf <anl...@gmx.de>
Date:   Tue Jan 24 22:36:25 2023 +0100

    Fortran: fix ICE in compare_bound_int [PR108527]

    gcc/fortran/ChangeLog:

            PR fortran/108527
            * resolve.c (compare_bound_int): Expression to compare must be of
            type INTEGER.
            (compare_bound_mpz_t): Likewise.
            (check_dimension): Fix comment on checks applied to array section
            and clean up associated logic.

    gcc/testsuite/ChangeLog:

            PR fortran/108527
            * gfortran.dg/pr108527.f90: New test.

    Co-authored-by: Steven G. Kargl <ka...@gcc.gnu.org>
    (cherry picked from commit 22afa4947584c701633a79fd8750c9ceeaa96711)

Reply via email to