summaryrefslogtreecommitdiff
path: root/gcc/testsuite/lib
diff options
context:
space:
mode:
authorMark Mitchell <mmitchel@gcc.gnu.org>2007-02-23 22:08:01 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2007-02-23 22:08:01 +0000
commit8371ec74262170c41219caadab840bfe3e0a02d1 (patch)
tree5454197149f9ccbb74c45038fd00e2763be4bad4 /gcc/testsuite/lib
parent4afb77911f574a7339669a80ad5f6aca5d15a34b (diff)
downloadgcc-8371ec74262170c41219caadab840bfe3e0a02d1.tar.gz
target-supports.exp (check_effective_target_unwrapped): New.
* lib/target-supports.exp (check_effective_target_unwrapped): New. * testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc: XFAIL for Newlib targets. From-SVN: r122272
Diffstat (limited to 'gcc/testsuite/lib')
-rw-r--r--gcc/testsuite/lib/target-supports.exp8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index ec63866614e..786f1fc5726 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -2053,6 +2053,14 @@ proc check_effective_target_uclibc {} {
}]
}
+# Return true if this is a Newlib target.
+
+proc check_effective_target_newlib {} {
+ return [check_no_compiler_messages newlib object {
+ #include <newlib.h>
+ }]
+}
+
# Return 1 if
# (a) an error of a few ULP is expected in string to floating-point
# conversion functions; and