https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25702
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> --- If we add such a warning, IMNSHO it shouldn't be in -Wall, because sizeof on pointer is a perfectly valid thing, which is used in huge amounts of code, there is really nothing wrong on it.