Landing: 3bbe1a86ccec

Project / Subsystem

gcc / ipa

Date

2026-06-23

Author

Josef Melcr

Commit

3bbe1a86ccecb180a4d32de6eab97bcc624a410f

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ipa
patch_id
commit_hash
3bbe1a86ccecb180a4d32de6eab97bcc624a410f
source_type
github
headline
IPA adds missing call to duplication hooks.
tldr
Fixes an ICE in ipa-sra by adding missing duplication hook calls in cgraph_edge::make_callback.
author
Josef Melcr
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • ipa
  • optimization
  • bugfix
  • ICE
discussion_id_link
bugzilla_pr
date
2026-06-23T00:00:00.000Z

This commit fixes an internal compiler error (ICE) in the ipa-sra pass by adding a missing call to duplication hooks within cgraph_edge::make_callback. The absence of this call prevented necessary summaries from being copied for newly added callback edges, leading to segfaults. The change also refactors initialization logic for summaries of callback edges to improve consistency.