Re:No sane compiler would optimize atomics (2015)
by SAI_Peregrinus on Monday July 12, 2021 @10:06PM
(#27817030)
-O0 doesn't necessarily change this. After all, optimizations aren't allowed to violate the spec (if they do, they're buggy). So any code that can be output by an optimizing compiler could (in principle) be output by a non-optimizing compiler.
[ Parent
| on HN ]
There are no comments on this comment yet.