https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89662
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-03-11 CC| |msebor at gcc dot gnu.org Component|c |tree-optimization Summary|[9 Regression] ICE in |[9 Regression] |contains_struct_check, at |-Warray-bounds ICE in |tree.h:3545 |contains_struct_check, at | |tree.h:3545 Ever confirmed|0 |1 --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- Confirmed. Introduced by my r262893: r262893 | msebor | 2018-07-19 19:36:34 -0400 (Thu, 19 Jul 2018) | 20 lines PR tree-optimization/84047 - missing -Warray-bounds on an out-of-bounds index into an array PR tree-optimization/83776 - missing -Warray-bounds indexing past the end of a string literal gcc/ChangeLog: PR tree-optimization/84047 PR tree-optimization/83776 * tree-vrp.c (vrp_prop::check_mem_ref): New function. (check_array_bounds): Call it.