This is the mail archive of the gcc-patches@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]

Re: [patch] fix pr 29302


On Dec 17, 2006, at 6:33 PM, roger@eyesopen.com wrote:
I tried reproducing this failure on powerpc-apple-darwin7.9.0 but without success. Sorry if I'm being a bit slow but is the IBM extended long double MacOS version specific?

-mlong-double-64 and -mlong-double-128 will select the size of long double regardless. There is much magic in this area and libc used to not have long double support. From rs6000/darwin.h:


/* Darwin has 128-bit long double support in libc in 10.4 and later.
   Default to 128-bit long doubles even on earlier platforms for ABI
   consistency; arithmetic will work even if libc and libm support is
   not available.  */

#define RS6000_DEFAULT_LONG_DOUBLE_SIZE 128

I'd love to have been able to rewrite history so that it had always been 128, but my time machine broke down over the weekend...


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