Landing: 0c08ca5287e2

Project / Subsystem

gcc / gcc/ada

Date

2026-04-01

Author

Mathias Aparicio

Commit

0c08ca5287e25d19186001b8e677390b7a169d9e

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gcc/ada
patch_id
commit_hash
0c08ca5287e25d19186001b8e677390b7a169d9e
source_type
github
headline
Enhances error message for incomplete record definitions
tldr
This commit improves error reporting when an Ada record is frozen with incompletely defined component types.
author
Mathias Aparicio
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • error-message
  • diagnostics
  • ada
  • usability
discussion_id_link
bugzilla_pr
date
2026-04-01T00:00:00.000Z

The GCC Ada compiler now provides a more precise error message when a record type is frozen prematurely and contains incompletely defined component types. Previously, the error message might misleadingly complain about a ‘private component.’ The updated message directly indicates that the component type is not fully defined, aligning with ARM 3.11.1 (8) and offering clearer guidance to developers on how to resolve the issue.