[Bug fortran/123952] module procedure with array values dummy procedure rejected

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Aug 8 15:40:31 GMT 2026


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

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

https://gcc.gnu.org/g:34f91f227dcc9ce8728ce9a2810c3d3682b84f86

commit r15-11463-g34f91f227dcc9ce8728ce9a2810c3d3682b84f86
Author: Paul Thomas <pault@gcc.gnu.org>
Date:   Tue Feb 3 18:00:54 2026 +0000

    Fortran: Fix module proc with array valued dummy procedure [PR123952]

    2026-01-14  Paul Thomas  <pault@gcc.gnu.org>

    gcc/fortran
            PR fortran/123952
            * symbol.cc (gfc_copy_dummy_sym): Ensure that external, array
            valued destination symbols have the correct interface so that
            conflicts do not arise when adding attributes.

    gcc/testsuite
            PR fortran/123952
            * gfortran.dg/pr123952.f90: New test.

    (cherry picked from commit 7c4d1a6a78e45e3a9fee21b09ad664346ede25a2)


More information about the Gcc-bugs mailing list