[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 #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Paul Thomas <[email protected]>:

https://gcc.gnu.org/g:ee3ccfd4552398c366d6704474fec1695e2399dc

commit r14-12804-gee3ccfd4552398c366d6704474fec1695e2399dc
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.