[Bug fortran/105152] [9/10/11/12 Regression] ICE in gfc_conv_gfc_desc_to_cfi_desc, at fortran/trans-expr.cc:5647

anlauf at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Apr 4 19:42:13 GMT 2022


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

anlauf at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2022-04-04
     Ever confirmed|0                           |1
           Priority|P3                          |P4

--- Comment #1 from anlauf at gcc dot gnu.org ---
Confirmed.

Actually we fail to diagnose the mismatch between actual and formal args
and accepts invalid code.  Just remove the bind(c) attribute to f in z2.


More information about the Gcc-bugs mailing list