Re:C23 Implications for C Libraries
by phkahler on Monday November 21, 2022 @03:24PM
(#33697445)
So GCC is defining one behavior for overflow in the optimizer (assuming there is no overflow so algebraic expressions can be optimized) and generating code that behaves differently (a+b will wrap around for signed and unsigned types)
That seems suspect to me but I understand why they'd do it.
That seems suspect to me but I understand why they'd do it.