aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2005-10-05 01:04:30 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2005-10-05 01:04:30 +0000
commit50b737e2a6c32dfce2a13094f51375a0888a1e70 (patch)
tree6f47263eef0e0313a89e0e0ce908c379dabb7798 /gcc
parent337f2a22bcca10831e16633b727fe2373c03f249 (diff)
downloadgcc-50b737e2a6c32dfce2a13094f51375a0888a1e70.zip
gcc-50b737e2a6c32dfce2a13094f51375a0888a1e70.tar.gz
gcc-50b737e2a6c32dfce2a13094f51375a0888a1e70.tar.bz2
builtins-config.h: Only PowerPC Mac OS shipped without C99 functions.
* gcc.dg/builtins-config.h: Only PowerPC Mac OS shipped without C99 functions. From-SVN: r104972
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/builtins-config.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index dd5d173..97e547f 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2005-10-04 Geoffrey Keating <geoffk@apple.com>
+
+ * gcc.dg/builtins-config.h: Only PowerPC Mac OS shipped without
+ C99 functions.
+
2005-10-04 Janis Johnson <janis187@us.ibm.com>
* lib/target-supports.exp (check_effective_target_fortran_large_real,
diff --git a/gcc/testsuite/gcc.dg/builtins-config.h b/gcc/testsuite/gcc.dg/builtins-config.h
index 74915bc..6335b5b 100644
--- a/gcc/testsuite/gcc.dg/builtins-config.h
+++ b/gcc/testsuite/gcc.dg/builtins-config.h
@@ -19,13 +19,13 @@
/* FreeBSD before version 5 doesn't have the entire C99 runtime. */
#elif defined(__netware__)
/* NetWare doesn't have the entire C99 runtime. */
-#elif (defined(__APPLE__) \
+#elif (defined(__APPLE__) && defined(__ppc__) \
&& ! defined (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__))
/* MacOS versions before 10.3 don't have many C99 functions.
But, if you're including this file, you probably want to test the
newer behaviour, so: */
#error forgot to set -mmacosx-version-min.
-#elif (defined(__APPLE__) \
+#elif (defined(__APPLE__) && defined(__ppc__) \
&& __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1030)
/* MacOS versions before 10.3 don't have many C99 functions. */
#else