http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53086
--- Comment #15 from Pat Haugen <pthaugen at gcc dot gnu.org> 2013-02-01 16:10:09 UTC --- The recently added switch, -fno-aggressive-loop-optimizations, can be used to prevent the transformation into an infinite loop. http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195610