https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84050
--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> --- reduced testcase: static int b[3] = { 1, 2, 3 }; int fstatic_array (void) { return b[7]; // missing -Warray-bounds }
pinskia at gcc dot gnu.org via Gcc-bugs Tue, 21 Sep 2021 01:14:11 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84050
--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> --- reduced testcase: static int b[3] = { 1, 2, 3 }; int fstatic_array (void) { return b[7]; // missing -Warray-bounds }