diff options
author | Steve Baird <baird@adacore.com> | 2024-02-15 15:13:12 -0800 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2024-05-16 10:49:27 +0200 |
commit | e730d52a9459d1112e888858c7286aab0e358fac (patch) | |
tree | a8978f16706baf8edfb81da987f5b6284f129112 /gcc/ada/sem_attr.adb | |
parent | 8b73cb99bbd02db85d213c7120dbaa366c360e45 (diff) | |
download | gcc-e730d52a9459d1112e888858c7286aab0e358fac.zip gcc-e730d52a9459d1112e888858c7286aab0e358fac.tar.gz gcc-e730d52a9459d1112e888858c7286aab0e358fac.tar.bz2 |
ada: Fix bug in maintaining dimension info
Copying a node does not automatically propagate its associated dimension
information (if any). This must be done explicitly.
gcc/ada/
* sem_util.adb (Copy_Node_With_Replacement): Add call to
Copy_Dimensions so that any dimension information associated with
the copied node is also associated with the resulting copy.
Diffstat (limited to 'gcc/ada/sem_attr.adb')
0 files changed, 0 insertions, 0 deletions