re PR target/32787 (Sun Studio 12 Undefined symbol addl)
authorRask Ingemann Lambertsen <rask@sygehus.dk>
Tue, 6 Nov 2007 20:14:22 +0000 (21:14 +0100)
committerRask Ingemann Lambertsen <rask@gcc.gnu.org>
Tue, 6 Nov 2007 20:14:22 +0000 (20:14 +0000)
2007-11-06  Rask Ingemann Lambertsen  <rask@sygehus.dk>

PR target/32787
* config/i386/driver-i386.c: Test for __GNUC__ instead of
GCC_VERSION which is always defined.

From-SVN: r129944

gcc/ChangeLog
gcc/config/i386/driver-i386.c

index c576ae9117d44c9f45543f8cdfd569fb5c333b50..7e523ce9fcc078b9e8a26382b26c788b031ee62d 100644 (file)
@@ -1,3 +1,9 @@
+2007-11-06  Rask Ingemann Lambertsen  <rask@sygehus.dk>
+
+       PR target/32787
+       * config/i386/driver-i386.c: Test for __GNUC__ instead of
+       GCC_VERSION which is always defined.
+
 2007-11-06  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
 
        PR target/30961
index df2fadee713b40767c90193b37ff96dda861021e..30a436bde25944edfbe900c3e6397d98e07ff710 100644 (file)
@@ -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__ */