[Ada] Fix crash with iterated_component_association and -gnatc
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 3 Aug 2020 20:54:18 +0000 (22:54 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 21 Oct 2020 07:22:46 +0000 (03:22 -0400)
commit3b612313b6e67dd01159cd8ceeafeac9f9e6dd04
tree913f0815a50eec49a6d72d2f6892698a3973c4fe
parent7c6fb753e2103347f2a4d6e31c845ed13c2b859e
[Ada] Fix crash with iterated_component_association and -gnatc

gcc/ada/

* sem_aggr.adb (Resolve_Iterated_Component_Association):
Expression's copy and now has the same parent as the original
expression.
(Resolve_Array_Aggregate): Add ??? comment about a still
existing minor issue that led to discovery of the above crash.
gcc/ada/sem_aggr.adb