[Bug c/53871] Please warn about endless loops if they are obvious

2021-10-02 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53871 Eric Gallager changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org,

[Bug c/53871] Please warn about endless loops if they are obvious

2017-11-22 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53871 Eric Gallager changed: What|Removed |Added CC||david at westcontrol dot com ---

[Bug c/53871] Please warn about endless loops if they are obvious

2015-12-30 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53871 --- Comment #7 from Andrew Pinski --- (In reply to David Binderman from comment #6) > Derived from the current Linux kernel: > > // i never changes, so the code loops forever. > > extern int f2( int); > > void f1() > { > int i = 0; > >

[Bug c/53871] Please warn about endless loops if they are obvious

2015-12-30 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53871 --- Comment #8 from David Binderman --- (In reply to Andrew Pinski from comment #7) > The above loop is not so obvious an infinite loop at all. Since f2 is not > declared as pure/const, GCC can think the return value changes without the >

[Bug c/53871] Please warn about endless loops if they are obvious

2015-12-30 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53871 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment

[Bug c/53871] Please warn about endless loops if they are obvious

2014-09-27 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53871 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added CC||kuq03132 at

[Bug c/53871] Please warn about endless loops if they are obvious

2012-07-10 Thread tim.ruehsen at gmx dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53871 --- Comment #4 from Tim Ruehsen tim.ruehsen at gmx dot de 2012-07-10 07:58:26 UTC --- (In reply to comment #3) I have thought a lot how to attract more and new developers to GCC who will be willing to develop things that are not a priority for

[Bug c/53871] Please warn about endless loops if they are obvious

2012-07-09 Thread tim.ruehsen at gmx dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53871 --- Comment #2 from Tim Ruehsen tim.ruehsen at gmx dot de 2012-07-09 11:50:19 UTC --- (In reply to comment #1) (In reply to comment #0) Obvious endless loops could be reported, e.g. if the loop condition doesn't change and the loop can't be

[Bug c/53871] Please warn about endless loops if they are obvious

2012-07-09 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53871 --- Comment #3 from Manuel López-Ibáñez manu at gcc dot gnu.org 2012-07-09 13:59:58 UTC --- (If I had time to to that, I wouldn't have put it on the wishlist but created a patch.) I have thought a lot how to attract more and new developers to

[Bug c/53871] Please warn about endless loops if they are obvious

2012-07-07 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53871 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added CC||manu at gcc