un-requested compiler optimisations

bearophile bearophileHUGS at lycos.com
Thu Apr 14 14:46:51 PDT 2011


Timon Gehr:

> If absolutely necessary, you can always use the volatile keyword to disable all
> optimizations on a given variable, or call the function explicitly using inline ASM.

"volatile" is present only in D1...

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list