[Bug debug/71669] DW_AT_data_bit_offset is not emitted for dwarf4 and above
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 17 17:42:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71669
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jan 17 17:42:06 2017
New Revision: 244542
URL: https://gcc.gnu.org/viewcvs?rev=244542&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
More information about the Gcc-bugs
mailing list