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

Harald Anlauf <anlauf at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Interfaces with             |[16/17 Regression]
                   |Assumed-Rank inputs of a    |Interfaces with
                   |user defined type do not    |Assumed-Rank inputs of a
                   |allow implicit creation of  |user defined type do not
                   |a user defined type.        |allow implicit creation of
                   |                            |a user defined type.
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2026-11-12
   Target Milestone|---                         |16.3
           Keywords|                            |ice-on-invalid-code,
                   |                            |ice-on-valid-code
     Ever confirmed|0                           |1

--- Comment #1 from Harald Anlauf <anlauf at gcc dot gnu.org> ---
ICE confirmed.

Other compilers (NAG, ifx) complain that the code attached is invalid because
of the missing bind(c).  If I modify the submodule so that

  module function g(vec) bind(C) result(out)

these other compiler are fine with it.  gfortran ICEs in all cases.

Reply via email to