aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Sandiford <richard@codesourcery.com>2007-02-09 13:56:16 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2007-02-09 13:56:16 +0000
commita5ea7a0be70cae76a6703a05dbea5543ca355c16 (patch)
tree9f461b6a2fe7a7f2dcb1451525cdd2a33b777663 /gcc
parent2755c05623ee21f19a16c6d0af8d188629e26375 (diff)
downloadgcc-a5ea7a0be70cae76a6703a05dbea5543ca355c16.zip
gcc-a5ea7a0be70cae76a6703a05dbea5543ca355c16.tar.gz
gcc-a5ea7a0be70cae76a6703a05dbea5543ca355c16.tar.bz2
gcc/testsuite/
* lib/target-supports.exp (check_effective_target_lax_strtofp) (check_effective_target_dummy_wcsftime): New functions. libstdc++-v3/testsuite/ * 22_locale/time_put/put/wchar_t/1.cc: XFAIL if dummy_wcsftime. * 22_locale/time_put/put/wchar_t/5.cc: Likewise. * 22_locale/time_put/put/wchar_t/9.cc: Likewise. * 22_locale/time_put/put/wchar_t/10.cc: Likewise. * 22_locale/num_get/get/wchar_t/2.cc: XFAIL if lax_strtofp. * 22_locale/num_get/get/char/2.cc: Likewise. * 27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc: Likewise. * 27_io/basic_istream/extractors_arithmetic/wchar_t/09.cc: Likewise. * 27_io/basic_istream/extractors_arithmetic/char/12.cc: Likewise. * 27_io/basic_istream/extractors_arithmetic/char/09.cc: Likewise. * 27_io/basic_ostream/inserters_arithmetic/wchar_t/6.cc: Likewise. * 27_io/basic_ostream/inserters_arithmetic/char/6.cc: Likewise. * 26_numerics/cmath/c99_classification_macros_c++.cc: XFAIL for uClibc. * 26_numerics/cmath/c99_classification_macros_c.cc: Likewise. From-SVN: r121749
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/lib/target-supports.exp18
2 files changed, 23 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 1c153c3..4d65bf4 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2007-02-09 Richard Sandiford <richard@codesourcery.com>
+ * lib/target-supports.exp (check_effective_target_lax_strtofp)
+ (check_effective_target_dummy_wcsftime): New functions.
+
+2007-02-09 Richard Sandiford <richard@codesourcery.com>
+
* gcc.c-torture/execute/20030125-1.x: Return 1 for uClibc targets.
* lib/target-supports.exp (check_effective_target_uclibc): New
function.
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp
index 7027cb5..d1daf0f 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -2045,6 +2045,24 @@ proc check_effective_target_uclibc {} {
}]
}
+# Return 1 if
+# (a) an error of a few ULP is expected in string to floating-point
+# conversion functions; and
+# (b) overflow is not always detected correctly by those functions.
+
+proc check_effective_target_lax_strtofp {} {
+ # By default, assume that all uClibc targets suffer from this.
+ return [check_effective_target_uclibc]
+}
+
+# Return 1 if this is a target for which wcsftime is a dummy
+# function that always returns 0.
+
+proc check_effective_target_dummy_wcsftime {} {
+ # By default, assume that all uClibc targets suffer from this.
+ return [check_effective_target_uclibc]
+}
+
# Return 1 if the target matches the effective target 'arg', 0 otherwise.
# This can be used with any check_* proc that takes no argument and
# returns only 1 or 0. It could be used with check_* procs that take