diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2024-10-30 11:22:12 +0100 |
---|---|---|
committer | Marc Poulhiès <dkm@gcc.gnu.org> | 2024-11-12 14:05:47 +0100 |
commit | d34069c3ffaac95ba880ba12de26972bc3fb91b8 (patch) | |
tree | fcea1f7626540dd59dae7182be834f051a7ee1a2 /gcc/gcov-iov.c | |
parent | a1dfd384a961043c9b8930d14abb761451298620 (diff) | |
download | gcc-d34069c3ffaac95ba880ba12de26972bc3fb91b8.zip gcc-d34069c3ffaac95ba880ba12de26972bc3fb91b8.tar.gz gcc-d34069c3ffaac95ba880ba12de26972bc3fb91b8.tar.bz2 |
ada: Fix spurious error on iterated component association with large index type
This is only for the Ada 2022 form of the iterated component association.
gcc/ada/ChangeLog:
* exp_aggr.adb (Two_Pass_Aggregate_Expansion): Use a type sized
from the index type to compute the length. Simplify and remove
useless calls to New_Copy_Tree for this computation.
Diffstat (limited to 'gcc/gcov-iov.c')
0 files changed, 0 insertions, 0 deletions