https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104426
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- That's a consequence of -fsanitize=undefined turning on -fno-delete-null-pointer-checks (it has to, otherwise -fsanitize=null wouldn't work properly). And -fno-delete-null-pointer-checks says that variables or functions can be placed at NULL address.