------- Comment #18 from rakdver at gcc dot gnu dot org  2009-02-12 19:58 
-------
> It "works" once you change the loop exit condition to i < i1.  Same effects
> with unsigned variables (adjust the lower bound to sth like 2 to avoid ill
> effects).

There is nothing to fix if unsigned variables are used, as the inner loop may
be infinite in that case.  For the signed case, we can use the fact that i
cannot wrap (with flag_strict_overflow), but there are some complications (see
PR25985).


-- 


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

Reply via email to