News for hackers. Stuff that matters.
Re:Security flaws caused by compiler optimizations by Gibbon1 on Wednesday August 21, 2019 @08:39PM (#20763509)
> A lot of UB, such as your signed integer addition example, is dependent upon the behavior of the underlying hardware.

That problem is you can no longer depend on that because the compiler writers have decided they can do anything during AST optimization when there is undefined behavior.

Re:Security flaws caused by compiler optimizations by qw3rty01 on Wednesday August 21, 2019 @09:20PM (#20763760)
That's because...they can. Because the behavior of the statement is undefined.
Re:Security flaws caused by compiler optimizations by perl4ever on Wednesday August 21, 2019 @10:40PM (#20764150)
“Those who can make you believe absurdities, can make you commit atrocities.” -Voltaire

Who knew he was talking about C compilers??