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

> Why do modern compilers break old code and then claim that it was broken from the start?

Because strictly speaking that old code is broken in that it violates the standard. Older compilers either didn't use the more aggressive interpretation of undefined behavior or didn't implement the optimizations that resulted in bad runtime behavior.



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

Search: