re PR target/32787 (Sun Studio 12 Undefined symbol addl)

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
This commit is contained in:
Rask Ingemann Lambertsen 2007-11-06 21:14:22 +01:00 committed by Rask Ingemann Lambertsen
parent b3519e7c8a
commit a6ecb05c86
2 changed files with 8 additions and 2 deletions

View 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> 2007-11-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
PR target/30961 PR target/30961

View 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); const char *host_detect_local_cpu (int argc, const char **argv);
#ifdef GCC_VERSION #ifdef __GNUC__
#include "cpuid.h" #include "cpuid.h"
/* Returns parameters that describe L1_ASSOC associative cache of size /* 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); return concat ("-m", argv[0], "=", cpu, NULL);
} }
#endif /* GCC_VERSION */ #endif /* __GNUC__ */