------- Comment #1 from pinskia at gcc dot gnu dot org 2007-07-17 04:26 -------
Try this patch:
Index: config/i386/driver-i386.c
===================================================================
--- config/i386/driver-i386.c (revision 126667)
+++ config/i386/driver-i386.c (working copy)
@@ -26,7 +26,7 @@
const char *host_detect_local_cpu (int argc, const char **argv);
-#ifdef GCC_VERSION
+#if GCC_VERSION >=0
#define cpuid(num,a,b,c,d) \
asm volatile ("xchgl %%ebx, %1; cpuid; xchgl %%ebx, %1" \
: "=a" (a), "=r" (b), "=c" (c), "=d" (d) \
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Component|inline-asm |target
Target Milestone|--- |4.2.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32787