Hacker News new | ask | show | jobs
by throwaway294566 1294 days ago
Yes, but there is more to it: The compiler may assume that UB will never happen intentionally and optimize out the branch containing UB.