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

--- Comment #11 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:e6db08d9183b80b0ada5122fae79412544279f56

commit r10-10877-ge6db08d9183b80b0ada5122fae79412544279f56
Author: Harald Anlauf <anl...@gmx.de>
Date:   Tue Jun 21 23:20:18 2022 +0200

    Fortran: fix simplification of INDEX(str1,str2) [PR105691]

    gcc/fortran/ChangeLog:

            PR fortran/105691
            * simplify.c (gfc_simplify_index): Replace old simplification
            code by the equivalent of the runtime library implementation.  Use
            HOST_WIDE_INT instead of int for string index, length variables.

    gcc/testsuite/ChangeLog:

            PR fortran/105691
            * gfortran.dg/index_6.f90: New test.

    (cherry picked from commit ff35dbc02092fbcd3d814fcd9fe8e871c3f741fd)

Reply via email to