[Ada] Refine change for bit-packed slices
authorArnaud Charlet <charlet@adacore.com>
Tue, 17 Sep 2019 07:59:38 +0000 (07:59 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Tue, 17 Sep 2019 07:59:38 +0000 (07:59 +0000)
commit5387a3f55fedbab8c99677c4021061fbaabec3ff
tree6ca3aee11a6620184bfc81ace12400b32c4bda3e
parent1ed19d98def3515e5b2fb9e68be34da4a78a7fdb
[Ada] Refine change for bit-packed slices

We use Long_Long_Integer'Size / 2 instead of 4 * 8 to support
specifying a target configuration file where the largest integer is
32 bits instead of 64.

2019-09-17  Arnaud Charlet  <charlet@adacore.com>

gcc/ada/

* libgnat/s-bitfie.ads (Val_Bits, Val_Bytes): Define from
Long_Long_Integer'Size.

From-SVN: r275773
gcc/ada/ChangeLog
gcc/ada/libgnat/s-bitfie.ads