Landing: 482f8656419e

Project / Subsystem

gcc / ada

Date

2026-04-15

Author

Viljar Indus

Commit

482f8656419e8a2dc095eba09a6f2b12056dfc0d

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
commit_hash
482f8656419e8a2dc095eba09a6f2b12056dfc0d
source_type
github
headline
Ada applies ignored ghost regions for ignored pragmas
tldr
The Ada front end now marks ignored pragmas as belonging to 'ignored ghost regions,' improving their cleanup.
author
Viljar Indus
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • ada
  • compiler internals
  • refactoring
discussion_id_link
bugzilla_pr
date
2026-04-15T00:00:00.000Z

This commit modifies the Ada front end to formally apply ‘ignored ghost regions’ to pragmas that the compiler chooses to ignore. By explicitly marking these pragmas as part of an ignored region, the compiler can more accurately identify and remove them during its internal processing. This ensures that unused pragma information does not unnecessarily persist through later compilation stages.