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/47946] Dwarf uses 64-bits to refer to a structure offset unnecessarily


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).


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