[Ada] Fix the Ada 2022 iterated component association RM reference
commit84f20139792e97f9fb6e10918e271c3277d0f178
authorMarc Poulhiès <poulhies@adacore.com>
Tue, 15 Feb 2022 14:12:38 +0000 (15 15:12 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 13 May 2022 08:04:28 +0000 (13 08:04 +0000)
treef25e37bfe0fc1a85d3e13ed72c83fadfa04fef70
parent9bea1bd335b54c2ffd77d56d29cfeddf84eec613
[Ada] Fix the Ada 2022 iterated component association RM reference

Fix the error message pointing to the Ada reference section on mixed
iterated component association being forbidden.  Remove useless loop.

gcc/ada/

* sem_aggr.adb (Resolve_Array_Aggregate): Fix ARM reference.
Remove useless loop.
gcc/ada/sem_aggr.adb