]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Fix incorrect handling of Aggregate aspect
authorMarc Poulhiès <poulhies@adacore.com>
Tue, 28 Feb 2023 16:10:29 +0000 (17:10 +0100)
committerEric Botcazou <ebotcazou@adacore.com>
Wed, 13 Mar 2024 15:34:54 +0000 (16:34 +0100)
commitbc97504e021fd8719fa6d9e31c311b38e87a3900
treebfb525d31ef412872f550edd73814e5380ace40c
parent1277f69b9b020688618bd034d3ceb03395e84326
ada: Fix incorrect handling of Aggregate aspect

This change fixes 2 incorrect handlings of the aspect.
The arguments are now correctly resolved and the aspect is rejected on
non array types.

gcc/ada/

* sem_ch13.adb (Analyze_One_Aspect): Mark Aggregate aspect as
needing delayed resolution and reject the aspect on non-array
type.
gcc/ada/sem_ch13.adb