https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109836
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I had thought this was documented as an extension too. But I can't find that part of the documentation. But the option is definitely documented as being enabled with -Wpedantic: https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/Warning-Options.html#index-Wpointer-sign