On Fri, Jun 05, 2015 at 05:52:25AM +0000, Richard Smith wrote:
> The difference of two unsigned promoted types is also unsigned, so
> cannot be negative. Perhaps we should word the warning differently in
> this case, but a warning does seem justified.

More importantly, abs(a-b) != a-b if the difference is large enough.

Joerg
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to