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

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jun 27 19:58:45 GMT 2026


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

Thomas Koenig <tkoenig at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |13.5
            Summary|ICE: a module procedure     |[13/14/14/15/16/17
                   |with an allocatable,        |Regression] ICE: a module
                   |intent(out) derived-type    |procedure with an
                   |array dummy                 |allocatable, intent(out)
                   |                            |derived-type array dummy
                 CC|                            |tkoenig at gcc dot gnu.org

--- Comment #5 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---

> This applies to 12.3.0, 15.2.0 and 16.1.0. ifx and flang compile this code
> cleanly.

I can confirm that 11.5 works and this fails from 12.1 onwards.

Hence, a regression (and a candidate for backporting).


More information about the Gcc-bugs mailing list