3 ms·
No, because the compiler will not generate code that is consistent in this case.
by saagarjha 7y ago
No, because the compiler will not generate code that is consistent in this case.
- archgoon 7y agoSo? What do you think I'm arguing for here?
- saagarjha 7y agoThere is no standard mapping between "your C code" and "what your computer will do" if your code has undefined behavior. Your compiler will produce some assembly, which you cannot rely on, and that will be "what your hardware does". If that's what you're trying to say I think we agree.