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.