diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2023-06-16 10:13:46 +0200 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-06-27 14:05:51 +0200 |
commit | d47dbbd22fcb4fd26f7a9b66bd99dcf4518deea9 (patch) | |
tree | 650de5d85cfd5d557bb629fa653ba669731e0318 /gcc/tree-ssa-loop-split.cc | |
parent | cba529bc70be52bbc7796faea212fb694d2d25a4 (diff) | |
download | gcc-d47dbbd22fcb4fd26f7a9b66bd99dcf4518deea9.zip gcc-d47dbbd22fcb4fd26f7a9b66bd99dcf4518deea9.tar.gz gcc-d47dbbd22fcb4fd26f7a9b66bd99dcf4518deea9.tar.bz2 |
ada: Fix incorrect handling of iterator specifications in recent change
Unlike for loop parameter specifications where it references an index, the
defining identifier references an element in them.
gcc/ada/
* sem_ch12.adb (Check_Generic_Actuals): Check the component type
of constants and variables of an array type.
(Copy_Generic_Node): Fix bogus handling of iterator
specifications.
Diffstat (limited to 'gcc/tree-ssa-loop-split.cc')
0 files changed, 0 insertions, 0 deletions