|
|
|
|
|
by chrisseaton
4075 days ago
|
|
say you have: x = 1
x = 2
bar()
You set a breakpoint on the call to bar and examine the value of x. You would expect it to be 2, but what if the compiler had decided to move the allocation of x = 2 to after the call to bar? There's no reason why it shouldn't. You'd then see x = 1, which would confuse you. |
|