[Bug middle-end/92210] no warning for invariable used in loop condition (i.e. add clang's -Wfor-loop-analysis)

2020-08-29 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92210 --- Comment #5 from David Binderman --- Not only does clang detect that the control variable isn't changed, it also detects when the control variable is changed too much. Code like this gets warned: for (int i = 0; i < 10; ++i) { // whatever

[Bug middle-end/92210] no warning for invariable used in loop condition (i.e. add clang's -Wfor-loop-analysis)

2020-08-29 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92210 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment

[Bug middle-end/92210] no warning for invariable used in loop condition (i.e. add clang's -Wfor-loop-analysis)

2019-12-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92210 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug middle-end/92210] no warning for invariable used in loop condition

2019-12-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92210 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Compon