Compilers that reorder shared memory operations [as part of code optimization] can cause sequential consistency violations similar to hardware. … Besides reordering, compiler optimizations such as register allocation … violations in subtle ways. … [With sequential compilers] It is left to the programmer to … [optimizations] … when disabling is necessary--it requires reasoning that is …
Google-1
Google-2
Copyright clearance needed for quotation.