[Ada] Fix crash on illegal OTHERS in iterated_component_association
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 5 Aug 2020 20:17:02 +0000 (22:17 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 21 Oct 2020 07:22:48 +0000 (03:22 -0400)
commited9a428d02a5e3cd191aec9421808c5ce8ab7db3
tree536b7077eba2de90137694c58028e04236fd8b8e
parente22557ee955225b6a2d42215b5e07b22f18d88d2
[Ada] Fix crash on illegal OTHERS in iterated_component_association

gcc/ada/

* sem_aggr.adb (Resolve_Array_Aggregate): Use Choice_List, which
internally calls either Choice or Discrete_Choices, depending on
the context.
gcc/ada/sem_aggr.adb