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
This commit is contained in:
parent
2755c05623
commit
a5ea7a0be7
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
@ -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
|
||||
|
@ -20,6 +20,8 @@
|
||||
|
||||
// 22.2.2.1.1 num_get members
|
||||
|
||||
// { dg-do run { xfail lax_strtofp } }
|
||||
|
||||
#include <locale>
|
||||
#include <sstream>
|
||||
#include <testsuite_hooks.h>
|
||||
|
@ -20,6 +20,8 @@
|
||||
|
||||
// 22.2.2.1.1 num_get members
|
||||
|
||||
// { dg-do run { xfail lax_strtofp } }
|
||||
|
||||
#include <locale>
|
||||
#include <sstream>
|
||||
#include <testsuite_hooks.h>
|
||||
|
@ -20,6 +20,8 @@
|
||||
|
||||
// 22.2.5.3.1 time_put members
|
||||
|
||||
// { dg-do run { xfail dummy_wcsftime } }
|
||||
|
||||
#include <locale>
|
||||
#include <sstream>
|
||||
#include <testsuite_hooks.h>
|
||||
|
@ -20,6 +20,8 @@
|
||||
|
||||
// 22.2.5.3.1 time_put members
|
||||
|
||||
// { dg-do run { xfail dummy_wcsftime } }
|
||||
|
||||
#include <locale>
|
||||
#include <sstream>
|
||||
#include <testsuite_hooks.h>
|
||||
|
@ -20,6 +20,8 @@
|
||||
|
||||
// 22.2.5.3.1 time_put members
|
||||
|
||||
// { dg-do run { xfail dummy_wcsftime } }
|
||||
|
||||
#include <locale>
|
||||
#include <sstream>
|
||||
#include <testsuite_hooks.h>
|
||||
|
@ -20,6 +20,8 @@
|
||||
|
||||
// 22.2.5.3.1 time_put members
|
||||
|
||||
// { dg-do run { xfail dummy_wcsftime } }
|
||||
|
||||
#include <locale>
|
||||
#include <sstream>
|
||||
#include <testsuite_hooks.h>
|
||||
|
@ -27,7 +27,8 @@
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
// { dg-do compile }
|
||||
// { dg-do compile { xfail uclibc } }
|
||||
// { dg-excess-errors "" { target uclibc } }
|
||||
|
||||
#include <cmath>
|
||||
|
||||
|
@ -27,8 +27,8 @@
|
||||
// invalidate any other reasons why the executable file might be covered by
|
||||
// the GNU General Public License.
|
||||
|
||||
// { dg-do compile { xfail *-*-linux* *-*-darwin* } }
|
||||
// { dg-excess-errors "" { target *-*-linux* *-*-darwin* } }
|
||||
// { dg-do compile { xfail { { *-*-linux* *-*-darwin* } || uclibc } } }
|
||||
// { dg-excess-errors "" { target { { *-*-linux* *-*-darwin* } || uclibc } } }
|
||||
|
||||
#include <math.h>
|
||||
|
||||
|
@ -20,6 +20,8 @@
|
||||
|
||||
// 27.6.1.2.2 arithmetic extractors
|
||||
|
||||
// { dg-do run { xfail lax_strtofp } }
|
||||
|
||||
#include <istream>
|
||||
#include <sstream>
|
||||
#include <locale>
|
||||
|
@ -23,7 +23,7 @@
|
||||
// XXX This test fails on sparc-solaris2 because of a bug in libc
|
||||
// XXX sscanf for very long input. See:
|
||||
// XXX http://gcc.gnu.org/ml/gcc/2002-12/msg01422.html
|
||||
// { dg-do run { xfail sparc*-*-solaris2* } }
|
||||
// { dg-do run { xfail { { sparc*-*-solaris2* } || lax_strtofp } } }
|
||||
|
||||
#include <istream>
|
||||
#include <sstream>
|
||||
|
@ -18,6 +18,8 @@
|
||||
|
||||
// 27.6.1.2.2 arithmetic extractors
|
||||
|
||||
// { dg-do run { xfail lax_strtofp } }
|
||||
|
||||
#include <istream>
|
||||
#include <sstream>
|
||||
#include <locale>
|
||||
|
@ -21,7 +21,7 @@
|
||||
// XXX This test fails on sparc-solaris2 because of a bug in libc
|
||||
// XXX sscanf for very long input. See:
|
||||
// XXX http://gcc.gnu.org/ml/gcc/2002-12/msg01422.html
|
||||
// { dg-do run { xfail sparc*-*-solaris2* } }
|
||||
// { dg-do run { xfail { { sparc*-*-solaris2* } || lax_strtofp } } }
|
||||
|
||||
#include <istream>
|
||||
#include <sstream>
|
||||
|
@ -19,6 +19,8 @@
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
|
||||
// { dg-do run { xfail lax_strtofp } }
|
||||
|
||||
#include <cmath> // for abs
|
||||
#include <cfloat> // for DBL_EPSILON
|
||||
#include <sstream>
|
||||
|
@ -16,6 +16,8 @@
|
||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||
// USA.
|
||||
|
||||
// { dg-do run { xfail lax_strtofp } }
|
||||
|
||||
#include <cmath> // for abs
|
||||
#include <cfloat> // for DBL_EPSILON
|
||||
#include <sstream>
|
||||
|
18
libstdc++-v3/testsuite/ChangeLog
Normal file
18
libstdc++-v3/testsuite/ChangeLog
Normal file
@ -0,0 +1,18 @@
|
||||
2007-02-09 Richard Sandiford <richard@codesourcery.com>
|
||||
|
||||
* 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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user