This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/71668] certain bitfields get negative DW_AT_bit_offset


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71668

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #1)
> Is this on a little-endian or big-endian target?

It is little-endian.  Note that dwarf issues explains this fully.  Basically
DW_AT_bit_offset is defined nicely for big-endian but not nice for
little-endian.

GCC does not emit DW_AT_data_bit_offset yet; I will file a bug report about
that in a second.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]