re PR debug/71669 (DW_AT_data_bit_offset is not emitted for dwarf4 and above)
authorJakub Jelinek <jakub@redhat.com>
Tue, 17 Jan 2017 17:42:06 +0000 (18:42 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 17 Jan 2017 17:42:06 +0000 (18:42 +0100)
commitc5b7d7b78fc8e111ce63d944dfc4c45053497fcb
tree2dd542d50c7581cfd78916081ec770c623cfd932
parentd25fabdc8e1ee25a077aa628432fad6d63b66b8f
re PR debug/71669 (DW_AT_data_bit_offset is not emitted for dwarf4 and above)

PR debug/71669
* dwarf2out.c (add_data_member_location_attribute): For constant
offset bitfield emit for -gdwarf-5 DW_AT_data_bit_offset attribute
instead of DW_AT_data_member_location, DW_AT_bit_offset and
DW_AT_byte_size attributes.

From-SVN: r244542
gcc/ChangeLog
gcc/dwarf2out.c