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

--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Paul Thomas <pa...@gcc.gnu.org>:

https://gcc.gnu.org/g:43522516e5a5c95807a1bf31c3d11014fb1ffb77

commit r13-9171-g43522516e5a5c95807a1bf31c3d11014fb1ffb77
Author: Paul Thomas <pa...@gcc.gnu.org>
Date:   Tue Nov 5 21:09:26 2024 +0000

    Fortran: Fix regressions with intent(out) class[PR115070, PR115348].

    2024-11-05  Paul Thomas  <pa...@gcc.gnu.org>

    gcc/fortran
            PR fortran/115070
            PR fortran/115348
            * trans-expr.cc (gfc_trans_class_init_assign): If all the
            components of the default initializer are null for a scalar,
            build an empty statement to prevent prior declarations from
            disappearing.

    gcc/testsuite/
            PR fortran/115070
            * gfortran.dg/ieee/pr115070.f90: New test.

            PR fortran/115348
            * gfortran.dg/pr115348.f90: New test.

Reply via email to