There are various bits of code in and around Druntime and Phobos that hide inline asm from GDC (or when version = GNU). In my opinion, I think these should be removed as they only hide GDC bugs that *should* instead be fixed in the compiler.
Regards
Comment #1 by ibuclaw — 2010-12-07T03:53:25Z
Created attachment 842
Remove version(GNU){} else { version=ASMx86 } code
Patch to remove it from the notable places in core.cpuid and std.math.
Regards
:3
Incase you are curious, GDC still can't generate the correct codegen for the naked asm inside exp2 and expm1. But then again, the GCC builtin functions make a better replacement of them for the time being.