https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84054
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> --- Firstly, GCC 4.8.1 has not been supported here for several years, and secondly the option is clearly documented as not doing anything for C. https://gcc.gnu.org/onlinedocs/gcc-4.8.1/gcc/Code-Gen-Options.html -fbounds-check For front ends that support it, generate additional code to check that indices used to access arrays are within the declared range. This is currently only supported by the Java and Fortran front ends, where this option defaults to true and false respectively. https://gcc.gnu.org/onlinedocs/gcc-3.4.5/gcc/Code-Gen-Options.html -fbounds-check For front-ends that support it, generate additional code to check that indices used to access arrays are within the declared range. This is currently only supported by the Java and Fortran 77 front-ends, where this option defaults to true and false respectively.