aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface/decl.cc
diff options
context:
space:
mode:
authorViljar Indus <indus@adacore.com>2023-07-05 14:21:50 +0300
committerMarc Poulhiès <poulhies@adacore.com>2023-07-18 15:11:47 +0200
commit99c419b2a8ce033e8be08f656edd350d97f72125 (patch)
treeeb7192a7cbc529a6a5f9f999a5cb302f8ed8a8a6 /gcc/ada/gcc-interface/decl.cc
parenta6ca70c6744ed6019b1ddbc41c8a09a45331e5bb (diff)
downloadgcc-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