GH-131296: Disable MSVC-specific optimization in sre.c when compiling with clang-cl (GH-131593)
This commit is contained in:
parent
edbf7fb129
commit
e9556e1004
@ -91,7 +91,7 @@ static unsigned int sre_toupper(unsigned int ch) {
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#if defined(_MSC_VER) && !defined(__clang__)
|
||||
#pragma optimize("agtw", on) /* doesn't seem to make much difference... */
|
||||
#pragma warning(disable: 4710) /* who cares if functions are not inlined ;-) */
|
||||
/* fastest possible local call under MSVC */
|
||||
|
Loading…
x
Reference in New Issue
Block a user