From: Iain Sandoe Date: Fri, 14 Oct 2011 08:13:04 +0000 (+0000) Subject: re PR bootstrap/50699 (Bootstrap fails on *-apple-darwin* due to revision 179820) X-Git-Tag: releases/gcc-4.7.0~3124 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=80f8fdf10b9f16d11ada4dfd86dee229e0c5307e;p=thirdparty%2Fgcc.git re PR bootstrap/50699 (Bootstrap fails on *-apple-darwin* due to revision 179820) gcc: PR bootstrap/50699 * config/darwin.c (darwin_patch_builtin): Adjust argument type. Only build for powerpc targets. (darwin_patch_builtins): Only build for powerpc targets. From-SVN: r179962 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e1bb4809acbc..de1a29893f69 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2011-10-14 Iain Sandoe + + PR bootstrap/50699 + * config/darwin.c (darwin_patch_builtin): Adjust argument type. Only + build for powerpc targets. (darwin_patch_builtins): Only build for + powerpc targets. + 2011-10-14 Jakub Jelinek * config/i386/sse.md (*avx_cvtdq2pd256_2): Rename to... diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index d8e5cd974a25..e8e18b83adbf 100644 --- a/gcc/config/darwin.c +++ b/gcc/config/darwin.c @@ -2957,10 +2957,11 @@ darwin_override_options (void) darwin_running_cxx = (strstr (lang_hooks.name, "C++") != 0); } -/* Add $LDBL128 suffix to long double builtins. */ +#if DARWIN_PPC +/* Add $LDBL128 suffix to long double builtins for ppc darwin. */ static void -darwin_patch_builtin (int fncode) +darwin_patch_builtin (enum built_in_function fncode) { tree fn = builtin_decl_explicit (fncode); tree sym; @@ -2998,6 +2999,7 @@ darwin_patch_builtins (void) #undef PATCH_BUILTIN_NO64 #undef PATCH_BUILTIN_VARIADIC } +#endif /* CFStrings implementation. */ static GTY(()) tree cfstring_class_reference = NULL_TREE;