--- Comment #3 from pinskia at gcc dot gnu dot org 2006-08-21 05:03 ---
(In reply to comment #2)
> It is signed overflow being undefined and so the i == 0 test being optimized
> away.
> Use -fwrapv or an unsigned loop counter.
And the "!= 0" is being optimized to 1 because signed overfl
--- 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
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-18 21:08 ---
This is most likely a dup of another bug which was fixed in 4.2.0.
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--