diff options
author | Iain Sandoe <iains@gcc.gnu.org> | 2011-10-14 08:13:04 +0000 |
---|---|---|
committer | Iain Sandoe <iains@gcc.gnu.org> | 2011-10-14 08:13:04 +0000 |
commit | 80f8fdf10b9f16d11ada4dfd86dee229e0c5307e (patch) | |
tree | ba4eae1f1d9b3a2dda2b3ab72e3bced3d6e3154e /gcc | |
parent | d7a3ef9794c7a58d576c563d1610b42ba040c871 (diff) | |
download | gcc-80f8fdf10b9f16d11ada4dfd86dee229e0c5307e.zip gcc-80f8fdf10b9f16d11ada4dfd86dee229e0c5307e.tar.gz gcc-80f8fdf10b9f16d11ada4dfd86dee229e0c5307e.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config/darwin.c | 6 |
2 files changed, 11 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e1bb480..de1a298 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2011-10-14 Iain Sandoe <iains@gcc.gnu.org> + + 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 <jakub@redhat.com> * config/i386/sse.md (*avx_cvtdq2pd256_2): Rename to... diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index d8e5cd9..e8e18b8 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; |