mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue