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.
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.