https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128723
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-16 branch has been updated by Eric Botcazou <[email protected]>: https://gcc.gnu.org/g:8be8dad4609d99aa34502ab18ed4338365c01a96 commit r16-9966-g8be8dad4609d99aa34502ab18ed4338365c01a96 Author: Eric Botcazou <[email protected]> Date: Sun Nov 15 18:01:41 2026 +0100 Ada: Fix wrong resolution for iterated expression of aggregate in instance This is a regression present on the mainline, 16 and 15 branches: the global names present in the expression of an iterated component association inside an aggregate are incorrectly resolved in instances of a generic unit. gcc/ada/ PR ada/128723 * sem_aggr.adb (Resolve_Array_Aggregate.Resolve_Aggr_Expr): Preanalyze the expression directly inside a generic unit. (Resolve_Delta_Array_Aggregate): Likewise. gcc/testsuite/ * gnat.dg/aggr36.adb: New test.
