News for hackers. Stuff that matters.
Re:Exploring Clang/LLVM optimization on programming horror by thrasumachos on Tuesday August 17, 2021 @05:48PM (#28215255)
Nice that it even provides the right answer for negative numbers as undefined behavior but only when optimizations are enabled!
Re:Exploring Clang/LLVM optimization on programming horror by titzer on Tuesday August 17, 2021 @07:44PM (#28216084)
Nice catch. One of many instances where C/C++ compilers rely on integer wraparound being UB.