April 14, 2011 Re: un-requested compiler optimisations | ||||
---|---|---|---|---|
| ||||
Posted in reply to Timon Gehr | 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
|
Copyright © 1999-2021 by the D Language Foundation