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

--- Comment #16 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:9c21d7eaf8383749d1a9cd266709ec9ed04e3a00

commit r14-11804-g9c21d7eaf8383749d1a9cd266709ec9ed04e3a00
Author: Harald Anlauf <anl...@gmx.de>
Date:   Thu Aug 29 22:17:07 2024 +0200

    Fortran: default-initialization of derived-type function results [PR98454]

    gcc/fortran/ChangeLog:

            PR fortran/98454
            * resolve.cc (resolve_symbol): Add default-initialization of
            non-allocatable, non-pointer derived-type function results.

    gcc/testsuite/ChangeLog:

            PR fortran/98454
            * gfortran.dg/alloc_comp_class_4.f03: Remove bogus pattern.
            * gfortran.dg/pdt_26.f03: Adjust expected count.
            * gfortran.dg/derived_result_3.f90: New test.

    (cherry picked from commit b222122d4e93de2238041a01b1886c7dfd9944da)

Reply via email to