[Bug fortran/125866] [13/14/14/15/16/17 Regression] ICE: a module procedure with an allocatable, intent(out) derived-type array dummy

"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=125866

--- Comment #9 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-16 branch has been updated by Jerry DeLisle
<[email protected]>:

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

commit r16-9466-gc8edf4c5e77665b96ffb84024d66d24ea6a7e58c
Author: Jerry DeLisle <[email protected]>
Date:   Tue Jul 28 12:53:30 2026 -0700

    fortran: [PR125866] Fix ICE: a module procedure with an allocatable,
intent(out)

    Co-authored by: Steve Kargl <[email protected]>

            PR fortran/125866

    gcc/fortran/ChangeLog:

            * expr.cc (is_CFI_desc): Add check for proc_name.

    gcc/testsuite/ChangeLog:

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

    (cherry picked from commit 2886a168e82e603f8141d5ea633a0eb0a4a58a6e)
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.