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

"cvs-commit at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
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 <[email protected]>:

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

commit r15-11463-g34f91f227dcc9ce8728ce9a2810c3d3682b84f86
Author: Paul Thomas <[email protected]>
Date:   Tue Feb 3 18:00:54 2026 +0000

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

    2026-01-14  Paul Thomas  <[email protected]>

    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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.