diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2023-01-31 14:33:44 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-05-22 10:44:07 +0200 |
commit | 5105de335368f88cb75acbc9bd30984bd49469c1 (patch) | |
tree | a284d4d960f02959961261e810109f1cd16f84ac /gcc/ada/debug.adb | |
parent | f120fa236752feec39797020b55cd2f0c2729473 (diff) | |
download | gcc-5105de335368f88cb75acbc9bd30984bd49469c1.zip gcc-5105de335368f88cb75acbc9bd30984bd49469c1.tar.gz gcc-5105de335368f88cb75acbc9bd30984bd49469c1.tar.bz2 |
ada: Fix handling of constrained array declarations in declare-expression
They need to go through Constrain_Array or else they do not really work.
gcc/ada/
* sem_ch3.adb (Find_Type_Of_Object): In a spec expression, also set
the Scope of the type, and call Constrain_Array for array subtypes.
Diffstat (limited to 'gcc/ada/debug.adb')
0 files changed, 0 insertions, 0 deletions