diff options
author | Viljar Indus <indus@adacore.com> | 2023-07-05 14:21:50 +0300 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-07-18 15:11:47 +0200 |
commit | 99c419b2a8ce033e8be08f656edd350d97f72125 (patch) | |
tree | eb7192a7cbc529a6a5f9f999a5cb302f8ed8a8a6 /gcc/ada/gcc-interface/decl.cc | |
parent | a6ca70c6744ed6019b1ddbc41c8a09a45331e5bb (diff) | |
download | gcc-99c419b2a8ce033e8be08f656edd350d97f72125.zip gcc-99c419b2a8ce033e8be08f656edd350d97f72125.tar.gz gcc-99c419b2a8ce033e8be08f656edd350d97f72125.tar.bz2 |
ada: Apply correct element type for container aggregates
When dealing with a container aggregate with an iterator
specification the iterator should take the value of the
element of the container instead of the key.
gcc/ada/
* sem_aggr.adb (Resolve_Iterated_Association): Use the element
type for the iterator in a container aggregate with an iterator
specification.
Diffstat (limited to 'gcc/ada/gcc-interface/decl.cc')
0 files changed, 0 insertions, 0 deletions