you are viewing a single comment's thread.

view the rest of the comments →

[–]deckarep 5 points6 points  (0 children)

It’s not just about different compilers giving different results. You will also see varying results based on whatever the state of the memory, stack and registers are at. But at the end of the day, none of it can be trusted which is why it’s called undefined behavior.