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

--- Comment #6 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:475cec322340e7082d85683dbaa44f00e4736bf6

commit r14-11707-g475cec322340e7082d85683dbaa44f00e4736bf6
Author: Harald Anlauf <anl...@gmx.de>
Date:   Tue Apr 15 20:43:05 2025 +0200

    Fortran: pure subroutine with pure procedure as dummy [PR106948]

            PR fortran/106948

    gcc/fortran/ChangeLog:

            * resolve.cc (gfc_pure_function): If a function has been resolved,
            but esym is not yet set, look at its attributes to see whether it
            is pure or elemental.

    gcc/testsuite/ChangeLog:

            * gfortran.dg/pure_formal_proc_4.f90: New test.

    (cherry picked from commit 4e3060ee17e6eb8bab718d320199f713533dbbd6)

Reply via email to