https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111104
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I don't think there is anything GCC can do here. You requested a huge array which is zero-filled and GCC is able to compile it to the produce assembly code which is valid.