[Bug tree-optimization/94675] [9 regression] -Warray-bounds false positive with -O2

2020-04-21 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94675 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.4 Version|unknown

[Bug tree-optimization/94675] [9 regression] -Warray-bounds false positive with -O2

2020-04-21 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94675 Martin Liška changed: What|Removed |Added Last reconfirmed||2020-04-21 CC|

[Bug tree-optimization/94675] [9 regression] -Warray-bounds false positive with -O2

2020-04-21 Thread chantry.xavier at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94675 --- Comment #2 from Xavier --- Note that in our code, we are not even dereferencing the pointer, it's just ps->s += len. And since we always keep a pointer right after the array (p_end / s_end), won't that be a source of problems for

[Bug tree-optimization/94675] [9 regression] -Warray-bounds false positive with -O2

2020-04-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94675 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #1