[Ada] Adjust the alignment to the size for bit-packed arrays
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 30 Dec 2021 19:06:50 +0000 (20:06 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 10 Jan 2022 09:38:44 +0000 (09:38 +0000)
commita283cf62e45e080f4f9294573b04b9a28cd72ee8
treec1cc667061c7214aaf8cf20661a332eac213df1e
parentad85af8e5a6f2e7c3482b23c2e2153228889635e
[Ada] Adjust the alignment to the size for bit-packed arrays

gcc/ada/

* exp_pakd.adb (Install_PAT): If the PAT is a scalar type, apply
the canonical adjustment to its alignment.
gcc/ada/exp_pakd.adb