[Bug middle-end/92110] too many -Warray-bounds warnings for a loop buffer overflow
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Oct 16 08:32:00 GMT 2019
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]
More information about the Gcc-bugs
mailing list