Landing: 6ba4e5dff52b

Project / Subsystem

gcc / ada

Date

2026-02-18

Author

Denis Mazzucato

Commit

6ba4e5dff52b0773719525bb5eb78b04cfe985e5

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
ada
patch_id
commit_hash
6ba4e5dff52b0773719525bb5eb78b04cfe985e5
source_type
github
headline
Fix crash evaluating class-wide preconditions with missing completion
tldr
This commit fixes a crash when evaluating class-wide preconditions for non-primitive subprograms with missing type completion in Ada.
author
Denis Mazzucato
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • ada
  • crash
  • bugfix
discussion_id_link
bugzilla_pr
date
2026-02-18T00:00:00.000Z

This commit prevents a crash that occurred when the compiler tried to evaluate a class-wide precondition of a non-primitive subprogram when the dispatching type was abstract and lacked completion. Instead of crashing, the compiler will now issue an appropriate error message.