Re:Signed Integers Are Two’s Complement
by scatters on Thursday May 31, 2018 @03:31AM
(#17194613)
This is already an option: `-ftrapv` or `-fsanitize=signed-integer-overflow`.
I find it amusing (and somewhat frustrating) that people who complain about risks from optimizations typically exhibit a lack of awareness of the tools that compilers already provide to diagnose related bugs.
I find it amusing (and somewhat frustrating) that people who complain about risks from optimizations typically exhibit a lack of awareness of the tools that compilers already provide to diagnose related bugs.