diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2024-12-13 20:50:44 +0100 |
---|---|---|
committer | Marc Poulhiès <dkm@gcc.gnu.org> | 2025-01-06 10:14:49 +0100 |
commit | f345ae3e6b2958677abd5a2f3aa447e0494e0fc3 (patch) | |
tree | 120683ccfcbaaabe3263f0ae1b308f96468ebe50 /gcc/fortran/trans-expr.cc | |
parent | ad8242d616da64a03680a1d304910cdb0f3ceb18 (diff) | |
download | gcc-f345ae3e6b2958677abd5a2f3aa447e0494e0fc3.zip gcc-f345ae3e6b2958677abd5a2f3aa447e0494e0fc3.tar.gz gcc-f345ae3e6b2958677abd5a2f3aa447e0494e0fc3.tar.bz2 |
ada: Fix small thinko in previous change to two-pass aggregate expansion
We need a type tailored to the base index type to compute the length.
gcc/ada/ChangeLog:
* exp_aggr.adb (Two_Pass_Aggregate_Expansion): Use the base type of
the index type to find the type used to compute the length.
Diffstat (limited to 'gcc/fortran/trans-expr.cc')
0 files changed, 0 insertions, 0 deletions