https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27766 Bug 27766 depends on bug 27989, which changed state.
Bug 27989 Summary: -fbounds-check should check for too small arrays on subroutine calls https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27989 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE