gh-101525: Use only safe identical code folding with BOLT by geofft · Pull Request #134642 · python/cpython · GitHub

github.com

Tin mới

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

llvm/llvm-project#116275

"Identical code folding" (ICF) is the feature of an optimizer to find that two functions have the same code and that they can therefore be deduplicated in the binary. While this is usually safe, it can cause observable b

Make BOLT as stable feature #101525

Use only safe identical code folding with BOLT

Disable unsafe identical code folding in BOLT astral-sh/python-build-standalone#622

View reviewed changes

Disable unsafe identical code folding in BOLT (

astral-sh/uv#13610

needs backport to 3.13

needs backport to 3.13

needs backport to 3.14

needs backport to 3.14

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

Upstream patch patch-configure-bolt-icf-safe.patch astral-sh/python-build-standalone#878

github-actions Bot commented Apr 25, 2026

github-actions Bot commented Apr 25, 2026

This PR is stale because it has been open for 30 days with no activity.

BOLT-WARNING: specifying numeric value "1" for option -icf is deprecated #149708

needs backport to 3.15

needs backport to 3.15