https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117305
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |INVALID
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Joakim Rosqvist from comment #2)
> That was weird - after all it is the C program and not the system header
> file that defines the uninitialized variable.
Yes but the system headers function hides it because that is by design.
macro usage will hide the warnings and that is by design.