3 ms·
Processors doing out-of-order execution doesn't change the semantics of the code. That's very different from the example where gcc just throws away the assignme
by mtzet 3y ago
Processors doing out-of-order execution doesn't change the semantics of the code. That's very different from the example where gcc just throws away the assignment.
The idea that he just needs to accommodate the compiler people is silly. Compilers exist to serve programmers, not the other way around. It's entirely reasonable to disagree with the compiler developers and use a flag to disable behaviour your don't want.
- saagarjha 3y agoIt does when you have a weak memory model and multiple threads involved.