[Bug c/79979] For loop fails to exit

2017-03-09 Thread jdowdells at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79979 jdowdells at hotmail dot com changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #5

[Bug c/79979] For loop fails to exit

2017-03-09 Thread jdowdells at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79979 --- Comment #2 from jdowdells at hotmail dot com --- Thanks for your quick reply. However, this is not intuitive, the compiler should be "free to do anything" in a sensible intuitive manner. The for loop is well defined and t

[Bug c/79979] New: For loop fails to exit

2017-03-09 Thread jdowdells at hotmail dot com
: unassigned at gcc dot gnu.org Reporter: jdowdells at hotmail dot com Target Milestone: --- Created attachment 40938 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40938&action=edit Test code which shows this issue When I compile this code: #include #include #include #