What is equivalent of gcc `__volatile__` attribute?

kinke noone at nowhere.com
Tue Nov 12 19:55:27 UTC 2019


On Tuesday, 12 November 2019 at 16:55:02 UTC, drug wrote:
> What is the equivalent of __volatile__ in
> ```
> __asm__ __volatile__ ( ... );
> ```

I guess that's the `sideeffect` IR attribute 
(http://llvm.org/docs/LangRef.html#inline-assembler-expressions), 
which LDC currently always emits for __asm.


More information about the digitalmars-d-ldc mailing list