Landing: 13754a59ee3c

Project / Subsystem

gcc / ada

Date

2026-09-29

Author

Eric Botcazou

Commit

13754a59ee3ce292d89f014477015ca2f361cef5

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
—
commit_hash
13754a59ee3ce292d89f014477015ca2f361cef5
source_type
github
headline
Ada: Fix missing initialization of parent discriminants in tagged extension
tldr
Correctly initializes parent discriminants for Ada tagged extensions in aggregates.
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-29T00:00:00.000Z

This change corrects an issue where parent discriminants of Ada tagged extensions were not properly initialized in certain aggregate expressions. The fix simplifies discriminant initialization logic by removing redundant procedures and consolidating necessary functions. This ensures correct behavior for aggregates derived from tagged extensions, particularly in cases involving ACATS cdd2a01.