From: Michael Droettboom Date: Tue, 11 Feb 2025 19:49:42 +0000 (-0500) Subject: gh-129244: Only remove the workaround when MSVC has the bugfix (#130011) X-Git-Tag: v3.14.0a6~464 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00ec7818771903e3007928d191d1297cdb3b5277;p=thirdparty%2FPython%2Fcpython.git gh-129244: Only remove the workaround when MSVC has the bugfix (#130011) --- diff --git a/Python/ceval.c b/Python/ceval.c index 5f8f0ae69ef3..1684fd7ecbdf 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -767,6 +767,7 @@ _PyObjectArray_Free(PyObject **array, PyObject **scratch) /* _PyEval_EvalFrameDefault is too large to optimize for speed with PGO on MSVC. */ #if (defined(_MSC_VER) && \ + (_MSC_VER < 1943) && \ defined(_Py_USING_PGO)) #define DO_NOT_OPTIMIZE_INTERP_LOOP #endif