https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82869
--- Comment #2 from james.s.spencer at gmail dot com --- (In reply to kargl from comment #1) > (In reply to james.s.spencer from comment #0) > > I think if a pointer, p, is C_NULL_PTR then c_associated(p) should always > > return false. However, I do not see this with gfortran 7.2.0with > > -fsanitize=address or when the pointer is initialised when declared. > > > > Not a gfortran problem. Re-assigning to sanitizer The third example occurs without the sanitizer enabled.