https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105523

--- Comment #28 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Wilhelm M from comment #26)
> As you can see in my opening bug report, there is no nullptr reference nor
> dereferencing a pointer with value 0.

Yes but as I mentioned by the time the warning happens, the IR has lost
information if the constant came from a null pointer or from some other
constant that the user used. So a heuristic needs to be used and the idea was
it would be the lower bytes by default and that the lower bytes would be
defined by a "page size" and that is how the naming of the option happened.

Reply via email to