Is DMD still not inlining "inline asm"?

Guillaume Piolat first.last at gmail.com
Sun Nov 14 19:56:19 UTC 2021


On Friday, 12 November 2021 at 00:46:05 UTC, Elronnd wrote:
> On Thursday, 11 November 2021 at 13:22:15 UTC, Basile B. wrote:
>> As for now, I know no compiler that can do that.
>
> GCC can do it.  Somewhat notoriously, LTO can lead to bugs from 
> underspecified asm constraints following cross-TU inlining.

LDC can also do it with GCC asm constraints, however it is 
atrociously hard to get documentation and examples for this.


More information about the Digitalmars-d-learn mailing list