Re: GSoC: possible IPA-ICF project direction

Project / Subsystem

gcc / gcc

Date

2026-09-14

Proposer

Rohith Kapelli <kapellirohith@gmail.com>

Source type

public_inbox

Consensus

Proposed

Sentiment

—/10

Technical tradeoffs

  • • Balancing the benefits of IPA-ICF optimizations against potential complexities and correctness issues with out-of-line bodies and C++ specific features.
  • • Investigating the interaction between ICF, IPA-cloning, and GNU extern inline semantics to ensure correct code generation.

All attributes

project
gcc
subsystem
gcc
patch_id
—
discussion_id
20260914192200.56210-1-kapellirohith@gmail.com
source_type
public_inbox
title
Re: GSoC: possible IPA-ICF project direction
headline
GSoC: IPA-ICF project direction explored for PRs
tldr
GSoC student investigates IPA-ICF project direction for specific GCC PRs.
proposer
Rohith Kapelli <kapellirohith@gmail.com>
consensus
Proposed
outcome
proposed
sentiment_score
—
technical_tradeoffs
  • • Balancing the benefits of IPA-ICF optimizations against potential complexities and correctness issues with out-of-line bodies and C++ specific features.
  • • Investigating the interaction between ICF, IPA-cloning, and GNU extern inline semantics to ensure correct code generation.
series_id
—
series_role
standalone
series_parts
[]
tags
  • • gcc
  • • optimization
  • • gsoc
  • • ipa
  • • icf
bugzilla_url
—
date
2026-09-14T00:00:00.000Z

Re: GSoC: possible IPA-ICF project direction

A GSoC student is exploring a new direction for an IPA-ICF project, focusing on issues raised in GCC PR119006 and PR123227. Initial tests indicate that while a separate-body approach might be safe for PR119006 under certain conditions, it exposes problems with PR123227 due to differing non-null promises. The student plans to further investigate ICF’s handling of losing bodies and the applicability of the separate-body scheme.