Re: [patch,target] Fix ppc-darwin issue with long double intrinsics (PR25477)

2008-02-23 Thread Joseph S. Myers
On Sat, 23 Feb 2008, FX Coudert wrote: > > + /*darwin_patch_builtin (BUILT_IN_NANL);*/ /* Broken for now since it > > +is defined as DEF_GCC_BUILTIN when it is also a C99 function. */ Note that this (builtin nan*) is bug 19984, which explains the history behind the use of DEF_GCC_B

Re: [patch,target] Fix ppc-darwin issue with long double intrinsics (PR25477)

2008-02-23 Thread FX Coudert
nanl strtold are missing. In addition, there are some lessor functions like err, errc, errx, strtold_l, swprintf, vfwscanf missing. I assume this is due to no builtins for them or Fortran not using them. If Ada or other non-C languages might, might make sense to add them too. I've

Re: [patch,target] Fix ppc-darwin issue with long double intrinsics (PR25477)

2008-02-23 Thread Mike Stump
On Feb 23, 2008, at 2:57 AM, FX Coudert wrote: 1. the target part, in gcc/config/darwin* and gcc/config/rs6000, that takes care of setting correct assembler names for the builtins, if needed The patch was bootstrapped on powerpc-apple-darwin9.2.0 with C and Fortran, and regtested with bot

Re: [patch,target] Fix ppc-darwin issue with long double intrinsics (PR25477)

2008-02-23 Thread Janne Blomqvist
FX Coudert wrote: Thanks to Andrew's code, Mike's and Geoff's comments in the PR, help from Uros, Paolo and Jack, and Dominique's machine for testing, here is a patch for fixing this PR. It has three independent parts, joined together because I regtested them together: 1. the target part, i

[patch,target] Fix ppc-darwin issue with long double intrinsics (PR25477)

2008-02-23 Thread FX Coudert
Thanks to Andrew's code, Mike's and Geoff's comments in the PR, help from Uros, Paolo and Jack, and Dominique's machine for testing, here is a patch for fixing this PR. It has three independent parts, joined together because I regtested them together: 1. the target part, in gcc/config/dar