https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78839
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Tom O'Connor from comment #4) > Bitfields seemed to work fine in all GCC prior to 6, FWIW. The same > attached source code when built with other GCCs prior to 6 generates > DW_AT_data_member_location = 0 for all the fields as expected. Only 6 gets > some of the fields "wrong". Maybe I am thinking big-endian :).