https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95718
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID CC| |kargl at gcc dot gnu.org --- Comment #3 from kargl at gcc dot gnu.org --- 16.5.2.2 Pointer association status A pointer may have a pointer association status of associated, disassociated, or undefined. Its association status may change during execution of a program. Unless a pointer is initialized (explicitly or by default), it has an initial association status of undefined. A pointer may be initialized to have an association status of disassociated or associated. 13.7.16 ASSOCIATED (POINTER [, TARGET]) POINTER shall be a pointer. It may be of any type or may be a procedure pointer. Its pointer association status shall not be undefined. Your program is invalid.