https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62184
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2014-11-12 00:00:00 |2016-3-3 --- Comment #7 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- (In reply to imitrichev from comment #6) > I think, while patching one should consider also warn on `for` loop empty > body. Sure, but it is always better to submit a sequence of smaller patches than one large one. Once you get the details right for while() it should be easy to implement for(). > It is really would be helpful to detect infinite loops caused by odd ';' > after `for` and `while` without debugger. It just needs someone to implement it. GCC devs are already very busy with other things. We need as much help as we can get.