[Bug tree-optimization/80406] Reduced false positive test case for -Warray-bounds with -O3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80406 --- Comment #4 from Sean --- Can confirm the warning no longer appears to issue (at least as of GCC 11).
[Bug tree-optimization/80406] Reduced false positive test case for -Warray-bounds with -O3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80406 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|--- |8.0 Status|NEW |RESOLVED --- Comment #3 from Andrew Pinski --- GCC before 8, is execusively unrolling: for (j=i; j < npts; j++) { k[j] = k[j+1]; /* False positive -Warray-bounds issued here */ } Fixed most likely by r8-5008.
[Bug tree-optimization/80406] Reduced false positive test case for -Warray-bounds with -O3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80406 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #2 from Martin Liška --- GCC 4.8.0 is first revision that prints the warning/
[Bug tree-optimization/80406] Reduced false positive test case for -Warray-bounds with -O3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80406 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Status|UNCONFIRMED |NEW Last reconfirmed||2017-04-12 Component|middle-end |tree-optimization Ever confirmed|0 |1 Known to fail||7.0.1 --- Comment #1 from Richard Biener --- Confirmed.