On 2/1/2015 8:32 AM, Iain Buclaw via Digitalmars-d wrote:
Only if optimisation passes removes the promise the compiler gives to the user. I'll have to check whether or not the proposed implementation in gdc is even viable vs. having a 'C volatile' type.
dmd actually translates those intrinsics into "volatile" C accesses. I presume gdc and ldc could do the same.