[Ada] Fix incomplete debug info for derived packed array type
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 4 Jan 2022 12:39:45 +0000 (13:39 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 11 Jan 2022 13:24:47 +0000 (13:24 +0000)
commit4217466a87672372ec0d5e0affafd33c06a35574
treeb1d8c8d2e7bc59013f96d54bd3205d1998566709
parenta8d89c45f8731686842f888f52494107bc410007
[Ada] Fix incomplete debug info for derived packed array type

gcc/ada/

* sem_ch3.adb (Analyze_Subtype_Declaration): In the case of an array
copy Packed_Array_Impl_Type manually here.
(Copy_Array_Subtype_Attributes): Do not copy it here.
gcc/ada/sem_ch3.adb