From b03343697586d339865e885d6e611d0703b0f619 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?tonghuaroot=20=28=E7=AB=A5=E8=AF=9D=29?= Date: Sat, 21 Nov 2026 16:30:03 +0800 Subject: [PATCH] gh-153668: Disable ``unicodectype.c`` optimization in regular Windows ARM64 Release builds (GH-162262) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gh-153668: Disable ``unicodectype.c`` optimization in regular Windows ARM64 Release builds due to a compiler bug in MSVC 14.50, 14.51, and 14.52. PGO builds are not affected. --------- (cherry picked from commit 3d248a27dfcc6d114291bf7fb5168c175eb021da) Co-authored-by: tonghuaroot (童话) Co-authored-by: Chris Eibl <138194463+chris-eibl@users.noreply.github.com> --- .../next/Build/2026-11-19-17-34-03.gh-issue-153668.A7mK2q.rst | 2 ++ PCbuild/pyproject.props | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 Misc/NEWS.d/next/Build/2026-11-19-17-34-03.gh-issue-153668.A7mK2q.rst diff --git a/Misc/NEWS.d/next/Build/2026-11-19-17-34-03.gh-issue-153668.A7mK2q.rst b/Misc/NEWS.d/next/Build/2026-11-19-17-34-03.gh-issue-153668.A7mK2q.rst new file mode 100644 index 000000000000000..95de6504bdbd074 --- /dev/null +++ b/Misc/NEWS.d/next/Build/2026-11-19-17-34-03.gh-issue-153668.A7mK2q.rst @@ -0,0 +1,2 @@ +Disable ``unicodectype.c`` optimization in regular Windows ARM64 Release +builds due to a compiler bug in MSVC 14.50, 14.51, and 14.52. PGO builds are not affected. diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props index ca8330c004cccea..658b1b10f74f35c 100644 --- a/PCbuild/pyproject.props +++ b/PCbuild/pyproject.props @@ -41,7 +41,7 @@ true true - true + true