This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [LTO][PATCH] Fix long double precision problem
The reason why I did the patch that way is to avoid changing the
external debugging interface. If we need to serialize precisions, we
may not need another GNU dwarf extension. Currently already gcc emits
DW_AT_bit_size and DW_AT_bit_offset pairs for integral types whose
precisions are less than their bit width. We can just add code to
handling real scalar types.
I am not sure what changes, if any, are required on the client side of
the debugging information (e.g. gdb). I am willing to implement those
changes though.
-Doug
2007/12/5, Mark Mitchell <mark@codesourcery.com>:
> This is exactly the kind of DWARF extension we want to make: in addition
> to being useful for LTO, we get better information for the debugger.
> Please make sure that any new DWARF attributes are clearly documented,
> without reference to GCC internals; the right documentation for
> DW_AT_gnu_precision is not "this is TYPE_PRECISION".