https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101854
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Slightly more reduced: void f() { struct Weird { float a[5]; // decrease to 4 will cause the warning to disappear }; struct Weird g(float const Q[2], float const null[6][8]) { return (struct Weird){0}; } float const q[2]; struct Weird ss = g(q, (void *)0); }