Landing: e75ce0961464

Project / Subsystem

gcc / ipa

Date

2026-08-17

Author

Josef Melcr

Commit

e75ce09614641c7d6ddb28727bf4dc807f0ca70c

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ipa
patch_id
—
commit_hash
e75ce09614641c7d6ddb28727bf4dc807f0ca70c
source_type
github
headline
ipa: Remove check for internal calls in jump function calculation
tldr
Dead code removed from IPA pass; checks for internal calls are no longer needed as they are never encountered.
author
Josef Melcr
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • ipa
  • • optimization
  • • dead code
discussion_id_link
—
bugzilla_pr
—
date
2026-08-17T00:00:00.000Z

A redundant if statement has been removed from the ipa_compute_jump_functions_for_edge function in GCC’s IPA (Inter-Procedural Analysis) pass. This check was intended to handle internal calls, but since internal functions and their calls are not represented in the call graph used by this pass, the condition was never true. Removing this dead code simplifies the implementation and avoids potential confusion.