https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92110
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |diagnostic Status|UNCONFIRMED |NEW Last reconfirmed| |2019-10-16 Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed. This asks for TREE_NO_WARNING to be recorded per location. Or rather record we already warned for -Warray-bounds for a specific location. Or rather gathering all of them and emitting a combined warning like c.c:4:10: warning: array subscripts 4 to 7 are outside array bounds of ‘char[4]’ [-Warray-bounds]