This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/47946] Dwarf uses 64-bits to refer to a structure offset unnecessarily
- From: "matz at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 1 Mar 2011 17:07:07 +0000
- Subject: [Bug debug/47946] Dwarf uses 64-bits to refer to a structure offset unnecessarily
- Auto-submitted: auto-generated
- References: <bug-47946-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47946
Michael Matz <matz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |matz at gcc dot gnu.org
--- Comment #2 from Michael Matz <matz at gcc dot gnu.org> 2011-03-01 17:06:42 UTC ---
Due to the definition of dwarf2/3 these offsets are negative on little-endian
machines. This was fixed in dwarf4, see
http://dwarfstd.org/ShowIssue.php?issue=081130.1&type=closed3
GCC doesn't yet support this part of dwarf4. But even for dwarf2 we could
emit this signed number as sleb128, not as unsigned number (that is what
causes us to use FORM_data8).