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

--- Comment #10 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Harald Anlauf <[email protected]>:

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

commit r16-7400-gdf7f52b3a4ca00b64baf31c57c506fe3afe51c9f
Author: Harald Anlauf <[email protected]>
Date:   Sun Feb 8 21:00:49 2026 +0100

    Fortran: fix string length for array constructors with type-spec [PR85547]

            PR fortran/85547

    gcc/fortran/ChangeLog:

            * decl.cc (gfc_match_volatile): Fix frontend memleak.
            (gfc_match_asynchronous): Likewise.
            * dump-parse-tree.cc (show_expr): Show type-spec for character
            array constructor when given.
            * simplify.cc (gfc_simplify_len): Simplify LEN() when type-spec
            is provided for character array constructor.
            * trans-intrinsic.cc (gfc_conv_intrinsic_len): Likewise.

    gcc/testsuite/ChangeLog:

            * gfortran.dg/string_length_5.f90: New test.
  • [Bug fortran/85547] Run-time er... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to