https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95718
--- Comment #4 from PengWang <peng.w...@compiler-dev.com> --- (In reply to kargl from comment #3) > 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. thank you very much! The status of undefined has confused me for a long time, now I understand it finally, thank you~