logoalt Hacker News

webstrandtoday at 4:02 PM1 replyview on HN

I think as compilers got smarter, UB changed somewhat in meaning. Originally the compilers didn't perform such complex analysis, and while invoking UB could break your program, it would still do something reasonable.


Replies

marcosdumaytoday at 4:42 PM

Yes, but compilers got smart enough for it to be a problem around 30 years ago, and we are still arguing about what to do.

show 1 reply