https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101484
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- If it is some special memory address space, would be nice if targetm.addr_space.zero_address_valid returns true about it. And in that case, if such a change doesn't fix it, pointer-query.cc or whatever should take it into account.