Merge pull request #6981 from jpf91/mingw_minimal

[dmd-cxx] GCC9 last-minute fix: MinGW changes to get phobos to build (backport #6980)
This commit is contained in:
Nicholas Wilson 2019-04-27 16:42:11 +01:00 committed by GitHub
commit b5e9661a08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -170,6 +170,12 @@ else version (D_InlineAsm_X86_64)
version = InlineAsm_X86_Any;
}
version (CRuntime_Microsoft)
{
version (InlineAsm_X86_Any)
version = MSVC_InlineAsm;
}
version (X86_64) version = StaticallyHaveSSE;
version (X86) version (OSX) version = StaticallyHaveSSE;
@ -3688,7 +3694,7 @@ real logb(real x) @trusted nothrow @nogc
ret ;
}
}
else version (CRuntime_Microsoft)
else version (MSVC_InlineAsm)
{
asm pure nothrow @nogc
{
@ -3975,7 +3981,7 @@ real ceil(real x) @trusted pure nothrow @nogc
ret ;
}
}
else version (CRuntime_Microsoft)
else version (MSVC_InlineAsm)
{
short cw;
asm pure nothrow @nogc
@ -4103,7 +4109,7 @@ real floor(real x) @trusted pure nothrow @nogc
ret ;
}
}
else version (CRuntime_Microsoft)
else version (MSVC_InlineAsm)
{
short cw;
asm pure nothrow @nogc
@ -4603,7 +4609,7 @@ real trunc(real x) @trusted nothrow @nogc
ret ;
}
}
else version (CRuntime_Microsoft)
else version (MSVC_InlineAsm)
{
short cw;
asm pure nothrow @nogc