https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121270
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
It definitely shouldn't be part of -Wextra either, this is just a weird style
warning, there is nothing wrong on sizeof(array) and there can be many reasons
why one should be able to ask about size of any expression.