https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123981
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu.org
Keywords| |diagnostic, easyhack
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The there is a target hook which the analyzer should be using to see if 0 is a
valid address or not.
I have not looked into the analyzer code to see if it is using it or not.
But the patch to fix this should be simple.