Landing: 7e8feb008589

Project / Subsystem

gcc / ada

Date

2026-01-06

Author

Denis Mazzucato

Commit

7e8feb008589bc482b8f0e5bfbf9e4598587206c

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
commit_hash
7e8feb008589bc482b8f0e5bfbf9e4598587206c
source_type
github
headline
Add support for implicit parameterless constructors.
tldr
The Ada compiler now supports implicit parameterless constructors for tagged types.
author
Denis Mazzucato
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • ada
  • constructors
  • object-oriented programming
discussion_id_link
bugzilla_pr
date
2026-01-06T00:00:00.000Z

This commit introduces support for implicit parameterless constructors in Ada. An implicit parameterless constructor is available when no other constructor is declared for a tagged type that has an ancestor with constructors. The implicit constructor calls the parent’s parameterless constructor through the Super aspect without arguments, simplifying object initialization.