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

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

https://gcc.gnu.org/g:35408b3669fac104cd380582b32e32c64a603d8b

commit r14-9752-g35408b3669fac104cd380582b32e32c64a603d8b
Author: Paul Thomas <pa...@gcc.gnu.org>
Date:   Tue Apr 2 14:19:09 2024 +0100

    Fortran: Fix wrong recursive errors and class initialization [PR112407]

    2024-04-02  Paul Thomas  <pa...@gcc.gnu.org>

    gcc/fortran
            PR fortran/112407
            * resolve.cc (resolve_procedure_expression): Change the test for
            for recursion in the case of hidden procedures from modules.
            (resolve_typebound_static): Add warning for possible recursive
            calls to typebound procedures.
            * trans-expr.cc (gfc_trans_class_init_assign): Do not apply
            default initializer to class dummy where component initializers
            are all null.

    gcc/testsuite/
            PR fortran/112407
            * gfortran.dg/pr112407a.f90: New test.
            * gfortran.dg/pr112407b.f90: New test.

Reply via email to