https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66422
--- Comment #4 from Ganesh Ajjanagadde <gajjanagadde at gmail dot com> --- Updated attachment that compiles to standalone executable (invoked with similar flags for with/without warning as before: gcc -Warray-bounds -O3 test.c, gcc -Warray-bounds test.c respectively).