3 ms·
I'm aware of that. The question was whether any practical architectures will do the "wrong" thing here.
by dpark 9y ago
I'm aware of that. The question was whether any practical architectures will do the "wrong" thing here.
- moefh 9y agoCompilers will do the "wrong" thing. For example, gcc optimizes out the "x >= 0" check in for (int x = 0; x >= 0; x++) making it an infinite loop, because it assumes "x++" can't overflow.