[Bug tree-optimization/82585] missing -Warray-bounds calling strlen on a member at out-of-bounds offfset

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 18 08:35:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82585

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Probably one form is folded to &a[4] and p->a + 4 is not folded to &p->a[4].


More information about the Gcc-bugs mailing list