commit | 177050b65968336bd9b1c6e94e343274f3582d78 | [log] [tgz] |
---|---|---|
author | Gary Dismukes <dismukes@adacore.com> | Fri May 16 23:11:26 2025 +0000 |
committer | Eric Botcazou <ebotcazou@adacore.com> | Tue Jul 01 16:33:59 2025 +0200 |
tree | c12d2099b216d7ee252efa58f3809a0a71aaf7f6 | |
parent | 25e6c4403919c5e6f4f6c306faf380c619b9c84f [diff] |
ada: Compiler fails on unchecked deallocation for constrained protected subtype The compiler fails with an error or Assert_Failure when calling an instantiation of Unchecked_Deallocation that has been instantiated with a constrained subtype of a discriminated protected type. gcc/ada/ChangeLog: * sem_ch3.adb (Constrain_Corresponding_Record): Inherit Class_Wide_Type on the created constrained subtype.