Landing: d470d6b93134

Project / Subsystem

gcc / ada

Date

2026-09-23

Author

Eric Botcazou

Commit

d470d6b931344eb972cf653932a7c4df3b937421

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
—
commit_hash
d470d6b931344eb972cf653932a7c4df3b937421
source_type
github
headline
Ada: Prevent infinite recursion on broken subunits with -gnatc
tldr
Adds a cutoff to prevent infinite recursion when compiling broken Ada subunits with the -gnatc flag.
author
Eric Botcazou
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • ada
  • • compiler
  • • bugfix
discussion_id_link
—
bugzilla_pr
—
date
2026-09-23T00:00:00.000Z

This commit addresses an infinite recursion issue that occurred when compiling broken Ada subunits with the -gnatc flag. A cutoff has been added in the invocation graph processing to handle these broken subunits gracefully, preventing the compiler from getting stuck.