[Bug c/79546] Strange error: missed loop optimization, the loop counter may overflow [-Werror=unsafe-loop-optimizations]

2017-02-16 Thread rjones at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79546 Richard W.M. Jones changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/79546] Strange error: missed loop optimization, the loop counter may overflow [-Werror=unsafe-loop-optimizations]

2017-02-15 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79546 --- Comment #1 from Andrew Pinski --- >-Werror=unsafe-loop-optimizations That is not enabled by default even with -Werror -W -Wall. But "missed loop optimization, the loop counter may overflow" is basically saying if i was an signed integer, th