https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67535
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- It is still undefined behavior, so e.g. gcc will happily remove NULL pointer checks after it sees a pointer used in memcpy, etc.