PR target/32787
Backport from mainline:
2007-11-06 Rask Ingemann Lambertsen <rask@sygehus.dk>
* config/i386/driver-i386.c: Test for __GNUC__ instead of
GCC_VERSION which is always defined.
From-SVN: r129993
+2007-11-08 Uros Bizjak <ubizjak@gmail.com>
+
+ PR target/32787
+ Backport from mainline:
+
+ 2007-11-06 Rask Ingemann Lambertsen <rask@sygehus.dk>
+
+ * config/i386/driver-i386.c: Test for __GNUC__ instead of
+ GCC_VERSION which is always defined.
+
2007-11-07 Eric Botcazou <ebotcazou@libertysurf.fr>
PR rtl-optimization/33822
const char *host_detect_local_cpu (int argc, const char **argv);
-#ifdef GCC_VERSION
+#ifdef __GNUC__
#define cpuid(num,a,b,c,d) \
asm volatile ("xchgl %%ebx, %1; cpuid; xchgl %%ebx, %1" \
: "=a" (a), "=r" (b), "=c" (c), "=d" (d) \
return concat ("-m", argv[0], "=", cpu, NULL);
}
-#endif /* GCC_VERSION */
+#endif /* __GNUC__ */