https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123289
--- Comment #11 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Eric Botcazou <[email protected]>: https://gcc.gnu.org/g:5cdb2a59308c9539b23e945c7f5f48743520e476 commit r16-6395-g5cdb2a59308c9539b23e945c7f5f48743520e476 Author: Eric Botcazou <[email protected]> Date: Fri Dec 26 10:44:57 2025 +0100 Ada: Fix illegal Aggregate aspect not rejected The Ada 2022 RM is adamant that the names specified in the Aggregate aspect must denote "exactly one" subprogram, in other words that it is illegal to use names that denote more than one subprogram in the Aggregate aspect. gcc/ada/ PR ada/123289 * sem_ch13.adb (Resolve_Aspect_Aggregate.Resolve_Operation): Give an error if the operation's name denotes more than one subprogram. gcc/testsuite/ * gnat.dg/specs/aggr9.ads: New test.
