https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103347
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This is macro tracking which is getting in the way of emitting the warning as NULL is from a system header, there is a dup of this bug already.