https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100702
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org Severity|normal |enhancement Last reconfirmed| |2021-05-20 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> --- It should be possible to detect the wide-spread 'i < i + 1' anipattern in the front ends without too many false positives (with __builtin_warning it should even be able to avoid them in dead code). Let me confirm this request on that basis.