[Bug 242277] gcc: improved array index checking at run time