This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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" \

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]