https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110878
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- There is another bug report dealing with this. But IIRC this is an expected warning as foo is being passed an array which is size 16 but then passed to bar as size 128 which would be undefined.