Landing: a1b57cebda0e

Project / Subsystem

gcc / gcc/ada

Date

2026-05-09

Author

Eric Botcazou

Commit

a1b57cebda0efea6563ea3e917cfdf8f52dba33e

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/ada
patch_id
commit_hash
a1b57cebda0efea6563ea3e917cfdf8f52dba33e
source_type
github
headline
Cleans up visibility checks in `Is_Visible_Component`
tldr
This commit refactors the `Is_Visible_Component` function in the Ada front end for improved clarity and maintainability, without altering its functional behavi…
author
Eric Botcazou
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • refactoring
  • ada
discussion_id_link
bugzilla_pr
date
2026-05-09T00:00:00.000Z

The GCC Ada front end received a cleanup to its Is_Visible_Component function. This change streamlines the logic by folding the Is_Local_Type predicate directly into the main function and focusing type entity reasoning. Developers will experience no functional changes, but the underlying code for visibility checks is now more organized.