Is DMD still not inlining "inline asm"?

max haughton maxhaton at gmail.com
Fri Nov 12 15:10:19 UTC 2021


On Friday, 12 November 2021 at 11:32:16 UTC, rempas wrote:
> On Thursday, 11 November 2021 at 19:22:33 UTC, max haughton 
> wrote:
>>
>> There's an attribute to tell it the function is safe to inline.
>
> And can't you do that with inline asm?

Not always. The attribute is intended for naked asm since 
inlining could be completely wrong in this case.


More information about the Digitalmars-d-learn mailing list