Not logged in
Log in now
Create an account
Subscribe to LWN
Pencil, Pencil, and Pencil
Dividing the Linux desktop
LWN.net Weekly Edition for June 13, 2013
A report from pgCon 2013
Little things that matter in language design
Signed overflow optimization hazards in the kernel
Posted Aug 17, 2012 16:07 UTC (Fri) by josh (subscriber, #17465)
Posted Aug 18, 2012 18:19 UTC (Sat) by PaulMcKenney (subscriber, #9624)
Another objection was that there are systems still in common use that trap on signed integer overflow. If the C standard required wrapping, compilers for such systems would require special edge-case checks on pretty much any signed integer operation.
And there was of course also the objection that signed integer overflow always has been undefined. ;-)
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds