News for hackers. Stuff that matters.
Re:On the Madness of Optimizing Compilers by joosters on Tuesday March 08, 2016 @08:17AM (#11244987)
If your program includes undefined behaviour, the compiler cannot magically make your code work, optimisation or not. At best, it can guess what you meant, but guessing is impossible to get completely right. The only way out is to fix your code.
Re:On the Madness of Optimizing Compilers by pjmlp on Tuesday March 08, 2016 @08:38AM (#11245094)
I was talking of UB being an open door to break applications, given that the standard allows for "anything goes" in terms of code generation.

I bet very few C developers, less than 1% outside ISO tables and compiler vendor teams, know ANSI C from cover-to-cover and are able to write UB free code when one sticks to the letter of the standard.