synchronized vs. C volatile

bearophile bearophileHUGS at lycos.com
Mon Aug 9 10:21:04 PDT 2010


Sean Kelly:
>As I said in my other post, the compiler won't optimize away ask blocks, nor will it optimize across them.  Walter has stated that it's incorrect behavior for a compiler to do so.  GDC or LDC might however, I really couldn't say.<

In LDC there are two ways to inline asm statements and functions that contain them, but both are explicit, so on default it acts as DMD (but I don't think this is well tested).

Bye,
bearophile


More information about the Digitalmars-d mailing list