https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104920
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Iirc this warning only works with the language array feature. So if you are using the library array, the compiler does not know the implementation details of it.