This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/78839] DWARF output different between GCC 5 and 6
- From: "toconnor at forcepoint dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 17 Dec 2016 00:44:38 +0000
- Subject: [Bug other/78839] DWARF output different between GCC 5 and 6
- Auto-submitted: auto-generated
- References: <bug-78839-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78839
--- Comment #6 from Tom O'Connor <toconnor at forcepoint dot com> ---
(In reply to Andrew Pinski from comment #5)
> (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 :).
Ah, I've only observed this on little-endian, as that's the only place I've
looked.