------- Comment #2 from rguenth at gcc dot gnu dot org  2006-08-19 15:26 -------
It is signed overflow being undefined and so the i == 0 test being optimized
away.
Use -fwrapv or an unsigned loop counter.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28777

Reply via email to