https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79673
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- This is created by PRE, so question for Richard. That said, the testcase is undefined behavior, even in alternate address spaces NULL pointer can't point to any object.