Landing: 89f8552e424c
Project / Subsystem
gcc / gcc/ipa
Date
2026-08-21
Author
Kugan Vivekanandarajah
Commit
89f8552e424c431cbd02f21f133a1c6c60a5c983
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- gcc/ipa
- patch_id
- —
- commit_hash
- 89f8552e424c431cbd02f21f133a1c6c60a5c983
- source_type
- github
- headline
- IPA: Apply computed profile scaling to call graphs
- tldr
- Fixes stale call graph edge counts after profile redistribution, preventing LTO ICEs.
- author
- Kugan Vivekanandarajah
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • optimization
- • IPA
- • LTO
- • profile-guided
- • compiler-error
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-08-21T00:00:00.000Z
The Inter-procedural Analysis (IPA) pass failed to apply computed profile scaling factors to call graph edges. This resulted in stale counts after clone redistribution and verification failures, triggering an internal compiler error (ICE) during AutoFDO LTO compilation. This commit corrects cgraph_node::scale_profile_to to apply the computed scale, ensuring accurate profile data for subsequent optimization passes.