[Issue 22161] importC: Support parsing C asm expressions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 26 11:17:46 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=22161

--- Comment #6 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to Walter Bright from comment #3)
> (In reply to Iain Buclaw from comment #2)
> > This bug report is more for me (and ldc) though, as all asm code in Posix C
> > headers and sources would be in the GCC style.
> 
> I'm surprised the GDC inline asm isn't the same as GCC. I just presumed they
> were the same. DMC and DMD inline asm differs mainly because I didn't
> backport the improvements to DMC.
In D, asm is a statement, in C/C++ its an expression.

--


More information about the Digitalmars-d-bugs mailing list