------- Comment #1 from dominiq at lps dot ens dot fr 2009-12-01 19:57 ------- I have no idea if this the right fix, but the following patch allows bootstrap to proceed:
--- ../_gcc_clean/libffi/src/powerpc/ffi_darwin.c 2009-12-01 13:16:43.000000000 +0100 +++ ../gcc-4.5-work/libffi/src/powerpc/ffi_darwin.c 2009-12-01 20:51:19.000000000 +0100 @@ -157,7 +157,7 @@ void ffi_prep_args(extended_cif *ecif, u case FFI_TYPE_LONGDOUBLE: #ifdef POWERPC64 if (fparg_count < NUM_FPR_ARG_REGISTERS) - *((long double *) fpr_base)++ = *(long double *) *p_argv; + *(long double *) fpr_base++ = *(long double *) *p_argv; else *(long double *) next_arg = *(long double *) *p_argv; next_arg += 2; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42243