[Ada] Fix bogus error for bit-packed array with volatile component
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 4 Aug 2020 13:08:56 +0000 (15:08 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 21 Oct 2020 07:22:46 +0000 (03:22 -0400)
commit5ff5f7210f74f3190ec50b526a0dfb5be462b28b
tree4dfed7cef6de4a3a80060fbfc98ccd4428a7e059
parent948c6d7e9e60ef8e1324bfed6d8d937112bef53d
[Ada] Fix bogus error for bit-packed array with volatile component

gcc/ada/

* freeze.adb (Check_Strict_Alignment): Do not set the flag for
a bit-packed array type, even if it is a by-reference type.
gcc/ada/freeze.adb