diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2023-04-21 18:30:48 +0200 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-06-13 09:31:44 +0200 |
commit | ae3fd5e8a75bf7cf18a98b0d0545ade976c1ec05 (patch) | |
tree | c21cbfe8cf69065c64b6633cf810df1a46ca0510 /gcc/range-op-float.cc | |
parent | 5c266974094ec997a0e83fc763fa4a6ff4b96005 (diff) | |
download | gcc-ae3fd5e8a75bf7cf18a98b0d0545ade976c1ec05.zip gcc-ae3fd5e8a75bf7cf18a98b0d0545ade976c1ec05.tar.gz gcc-ae3fd5e8a75bf7cf18a98b0d0545ade976c1ec05.tar.bz2 |
ada: Fix wrong expansion of limited extension aggregate
This happens when the ancestor part is itself an aggregate: in this case,
the tag of the extension aggregate is wrongly set to that of the ancestor.
gcc/ada/
* exp_aggr.adb (Build_Record_Aggr_Code): In the case of an extension
aggregate of a limited type whose ancestor part is an aggregate, do
not skip the final code assigning the tag of the extension.
Diffstat (limited to 'gcc/range-op-float.cc')
0 files changed, 0 insertions, 0 deletions