[LTO][PATCH] Fix long double precision problem

Doug Kwan (關振德) dougkwan@google.com
Thu Dec 13 19:13:00 GMT 2007


At I have mentioned earlier. That may not be a correct thing to do. On
the x86, the 80-bit extended floating point formating is stored using
one instruction and there is no internal padding.  However, there is
internal padding in complex long double.  Any thing expecting a
contiguous chunk of bits may be surprised.

I have done some simple testing with gdb by compiling test and
stepping them under gdb.  The long double case worked but complex long
double caused gdb to crash.  That was more likely that it was a bug in
gdb as gdb crashed with debug info generated from stock gcc also.

In the long term, we need an appropriate dwarf extension.

-Doug

2007/12/13, Andreas Schwab <schwab@suse.de>:

> What if the padding is internal?
>
> Andreas.



More information about the Gcc-patches mailing list