From 80f8fdf10b9f16d11ada4dfd86dee229e0c5307e Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Fri, 14 Oct 2011 08:13:04 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 7 +++++++ gcc/config/darwin.c | 6 ++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e1bb4809acb..de1a29893f6 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 d8e5cd974a2..e8e18b83adb 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; -- 2.30.2