https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91741
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2019-09-11
Ever confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Looks like a good idea for a warning.
But please don't make the diagnostic say "every element", since I hope all the
elements of an array have the same size, so you don't need to consider every
one of them ;-)