------- Comment #19 from tkoenig at gcc dot gnu dot org  2009-11-28 15:16 
-------
(In reply to comment #18)

> Well, in that case you can as well rely on twos-complement
> arithmetic and avoid all the overflow issues?

This is difficult without if statements or MAX_EXPR and MIN_EXPR,
because I need to cover both a<b and b<a.

I think I will go for calculating the difference in a larger size,
if any is available, and a special case for do loops using the largest
integer size.


-- 


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

Reply via email to