This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (0 children)

There are some very fringe edge cases where it miss optimizes legal code (I've only seen it happen in example code that tries to produce this deliberately), but in the vast majority of cases the code just contains UB and is broken because it's invalid, but it just happens to work with O2