From: Rask Ingemann Lambertsen Date: Tue, 6 Nov 2007 20:14:22 +0000 (+0100) Subject: re PR target/32787 (Sun Studio 12 Undefined symbol addl) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a6ecb05c86e8997cc85c12782aaaa0db4fedb147;p=gcc.git re PR target/32787 (Sun Studio 12 Undefined symbol addl) 2007-11-06 Rask Ingemann Lambertsen PR target/32787 * config/i386/driver-i386.c: Test for __GNUC__ instead of GCC_VERSION which is always defined. From-SVN: r129944 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c576ae9117d..7e523ce9fcc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2007-11-06 Rask Ingemann Lambertsen + + PR target/32787 + * config/i386/driver-i386.c: Test for __GNUC__ instead of + GCC_VERSION which is always defined. + 2007-11-06 Ulrich Weigand PR target/30961 diff --git a/gcc/config/i386/driver-i386.c b/gcc/config/i386/driver-i386.c index df2fadee713..30a436bde25 100644 --- a/gcc/config/i386/driver-i386.c +++ b/gcc/config/i386/driver-i386.c @@ -25,7 +25,7 @@ along with GCC; see the file COPYING3. If not see const char *host_detect_local_cpu (int argc, const char **argv); -#ifdef GCC_VERSION +#ifdef __GNUC__ #include "cpuid.h" /* Returns parameters that describe L1_ASSOC associative cache of size @@ -416,4 +416,4 @@ const char *host_detect_local_cpu (int argc, const char **argv) return concat ("-m", argv[0], "=", cpu, NULL); } -#endif /* GCC_VERSION */ +#endif /* __GNUC__ */