2 ms·
So to take an example, signed integer arithmetic can't overflow (or it is UB), would you like a compiler that flag for every single arithmetic operation on int
by Joky 9y ago
So to take an example, signed integer arithmetic can't overflow (or it is UB), would you like a compiler that flag for every single arithmetic operation on int when it can't prove it won't overflow?
So we couldn't compile `int foo(int a, int b) { return a + b; }` right?