]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR bootstrap/50699 (Bootstrap fails on *-apple-darwin* due to revision 179820)
authorIain Sandoe <iains@gcc.gnu.org>
Fri, 14 Oct 2011 08:13:04 +0000 (08:13 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Fri, 14 Oct 2011 08:13:04 +0000 (08:13 +0000)
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
gcc/config/darwin.c

index e1bb4809acbc46ec0584674773ad14596649c961..de1a29893f699391b8ab879d139e5d6db4c4a6eb 100644 (file)
@@ -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...
index d8e5cd974a2521cbc1a4a6d86abaf4648a680195..e8e18b83adbfa4b88ea4b53a9ffcd5d5c55ba643 100644 (file)
@@ -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;