News for hackers. Stuff that matters.
Re:Efficient Integer Overflow Checking in LLVM by anon4 on Sunday April 10, 2016 @03:02AM (#11465247)
It's no worse than checking return codes though. And I really don't want integer overflow check to be turned on for all integers. I'm writing stuff that has to run, even if it occasionally produces a wrong answer. Having hidden checks inserted by the compiler that just crash the program would be really bad. Yes, I should check the inputs, but if I ever forget to check one, it's better that some ranges of input data produce nonsense results rather than crashes.

There are no comments on this comment yet.