Add missing stride entry in debug info
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 11 Sep 2020 09:13:54 +0000 (11:13 +0200)
committerEric Botcazou <ebotcazou@adacore.com>
Fri, 11 Sep 2020 09:13:54 +0000 (11:13 +0200)
commitb5ffd55a61df01d226f3fa4260f108bda8565c16
treef20be982bb51bec05d0239653f6b07d04e001a00
parent230e0dbdcbb55c5ec3cbb236db4302cd18a1a01d
Add missing stride entry in debug info

This adds a missing stride entry for bit-packed arrays of record types.

gcc/ada/ChangeLog:
* gcc-interface/misc.c (get_array_bit_stride): Return TYPE_ADA_SIZE
for record and union types.
gcc/ada/gcc-interface/misc.c