You're viewing a comment by Fraz and its responses.

Fraz Permalink
March 26, 2015, 16:09

Just as one example, the compiler can assume that the carry flag is clear after an unsigned addition and go and do some optimizations based on that. If you have just done a 2's complement addition the carry flag could be set leading to undefined behavior.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "disk_143": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.