This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, commited]: Fix bootstrap for i386 target
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Geoffrey Keating <gkeating at apple dot com>
- Date: Sat, 23 Sep 2006 12:33:39 +0200
- Subject: [PATCH, commited]: Fix bootstrap for i386 target
Hello!
Geoffrey's patch
(http://gcc.gnu.org/ml/gcc-patches/2006-09/msg00998.html) removed a
function prototype; this caused bootstrap failure on i386 targets. Fixed
by patch below.
Commited to mainline after bootstrapping on x86_64-pc-linux-gnu.
2006-09-23 Uros Bizjak <uros@kss-loka.si>
* config/i386/driver-i386.c (host_detect_local_cpu): Add prototype.
Uros.
Index: driver-i386.c
===================================================================
--- driver-i386.c (revision 117167)
+++ driver-i386.c (working copy)
@@ -22,6 +22,8 @@
#include "system.h"
#include <stdlib.h>
+const char *host_detect_local_cpu (int argc, const char **argv);
+
#ifdef GCC_VERSION
#define cpuid(num,a,b,c,d) \
asm volatile ("xchgl %%ebx, %1; cpuid; xchgl %%ebx, %1" \