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

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

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

commit r14-10244-gb0b21d5bdfbc7d417b70010a11354b44968bb184
Author: Harald Anlauf <anl...@gmx.de>
Date:   Mon May 13 22:06:33 2024 +0200

    Fortran: fix bounds check for assignment, class component [PR86100]

    gcc/fortran/ChangeLog:

            PR fortran/86100
            * trans-array.cc (gfc_conv_ss_startstride): Use abridged_ref_name
            to generate a more user-friendly name for bounds-check messages.
            * trans-expr.cc (gfc_copy_class_to_class): Fix bounds check for
            rank>1 by looping over the dimensions.

    gcc/testsuite/ChangeLog:

            PR fortran/86100
            * gfortran.dg/bounds_check_25.f90: New test.

    (cherry picked from commit 93765736815a049e14d985b758a213cfe60c1e1c)

Reply via email to