aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-08-21 17:11:13 +0000
committerMarc Poulhiès <poulhies@adacore.com>2023-09-05 13:05:17 +0200
commit7f77d69bc86d25262b88503d0f5e3fff11c7898e (patch)
tree2f8af58ca90663c61148c31024bd2dbcc8c1cfc2 /gcc/c
parent10b4a454b2f5c2c3c6c98b4f7bf6bcf537c072cc (diff)
downloadgcc-7f77d69bc86d25262b88503d0f5e3fff11c7898e.zip
gcc-7f77d69bc86d25262b88503d0f5e3fff11c7898e.tar.gz
gcc-7f77d69bc86d25262b88503d0f5e3fff11c7898e.tar.bz2
ada: Fix DWARF for certain arrays
An array whose index type is a nonstandard enum will be marked as "packed", but should not emit DW_AT_bit_stride unless it is also bit-packed. gcc/ada/ * gcc-interface/decl.cc (gnat_to_gnu_entity): Set bit-packed for constrained and unconstrained array types. * gcc-interface/misc.cc (gnat_get_array_descr_info): Examine BIT_PACKED_ARRAY_TYPE_P.
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions