https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118789
--- Comment #7 from kargls at comcast dot net --- (In reply to Jerry DeLisle from comment #6) > Steve have you had a closer look at this one? I did watch f951 in gdb with the code in comment #3, but I could not find where to avoid an ICE. The simple non-bind(c) code that looks like comment #3 compiles without a problem: module fckit_C_interop_module implicit none type foo integer i end type foo CONTAINS subroutine bar(cptr) type(foo), value :: cptr associate(unused => cptr) end associate end end module I haven't had time to read F2023 standard to check if there are any (special) requirements for a bind(c) variable as a selector.