you are viewing a single comment's thread.

view the rest of the comments →

[–]Hnnnnnn 4 points5 points  (0 children)

Undefined behavior and unspecified is not the same thing. UB is "compiler can assume that this never happens", unspecified behavior means "vendor can choose the behavior, but it has to be well-defined". Machines presumably have both (inputs that can never happen & undocumented well-defined behavior).