Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"Undefined behavior" affects the entire output of the compilation - it allows the compiler to change anything, anywhere (dropping overflow checks on the assumption that overflow can't happen is perfectly legal, for example).

An "unspecified value"/"undefined value" seems to mean that the associated operation can return anything it wants, but can't affect adjacent code.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: