backport: 14220.cc: XFAIL on Solaris 9/x86, 32-bit Solaris 10/x86 and 64-bit Solaris 10/SPARC.

Backport from mainline:
	2010-07-26  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* testsuite/22_locale/num_put/put/char/14220.cc: XFAIL on Solaris
	9/x86, 32-bit Solaris 10/x86 and 64-bit Solaris 10/SPARC.
	* testsuite/22_locale/num_put/put/wchar_t/14220.cc: XFAIL on
	Solaris 9/x86 and 32-bit Solaris 10/x86.

	* testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
	Only XFAIL on Solaris 8 and 9.
	* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc:
	Likewise.

	* testsuite/ext/enc_filebuf/char/13598.cc: XFAIL before Solaris 11.

From-SVN: r164362
This commit is contained in:
Rainer Orth 2010-09-17 10:19:35 +00:00 committed by Rainer Orth
parent dfffab470f
commit 641f3dab26
6 changed files with 40 additions and 15 deletions

View File

@ -1,3 +1,20 @@
2010-09-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Backport from mainline:
2010-07-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* testsuite/22_locale/num_put/put/char/14220.cc: XFAIL on Solaris
9/x86, 32-bit Solaris 10/x86 and 64-bit Solaris 10/SPARC.
* testsuite/22_locale/num_put/put/wchar_t/14220.cc: XFAIL on
Solaris 9/x86 and 32-bit Solaris 10/x86.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
Only XFAIL on Solaris 8 and 9.
* testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc:
Likewise.
* testsuite/ext/enc_filebuf/char/13598.cc: XFAIL before Solaris 11.
2010-06-16 Matthias Klose <doko@ubuntu.com>
* src/compatibility.cc: Export long double versions of "C" math

View File

@ -1,6 +1,6 @@
// 2004-04-30 Paolo Carlini <pcarlini@suse.de>
// Copyright (C) 2004, 2009 Free Software Foundation
// Copyright (C) 2004, 2009, 2010 Free Software Foundation
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -19,11 +19,13 @@
// 22.2.2.2.1 num_put members
// On Solaris 10 x86, this test crashes in libc. Inside libstdc++,
// we call sprintf like so:
// On Solaris 9/x86, 32-bit Solaris 10/x86 and 64-bit Solaris 10/SPARC, this
// test crashes in libc. Inside libstdc++, we call sprintf like so:
// sprintf (buffer, "%.*f", 1000, 1.0)
// which crashes.
// { dg-do run { xfail { i?86*-*-solaris2.10 } } }
// { dg-xfail-run-if "" i?86-*-solaris2.9 }
// { dg-xfail-run-if "" { i?86-*-solaris2.10 && ilp32 } }
// { dg-xfail-run-if "" { sparc*-sun-solaris2.10 && lp64 } }
#include <locale>
#include <sstream>

View File

@ -1,6 +1,6 @@
// 2004-04-30 Paolo Carlini <pcarlini@suse.de>
// Copyright (C) 2004, 2009 Free Software Foundation
// Copyright (C) 2004, 2009, 2010 Free Software Foundation
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -23,11 +23,11 @@
#include <sstream>
#include <testsuite_hooks.h>
// On Solaris 10 x86, this test crashes in libc. Inside libstdc++,
// we call sprintf like so:
// On Solaris 9 and 32-bit Solaris 10/x86, this test crashes in libc. Inside
// libstdc++, we call sprintf like so:
// sprintf (buffer, "%.*f", 1000, 1.0)
// which crashes.
// { dg-do run { xfail { i?86*-*-solaris2.10 } } }
// { dg-do run { xfail { i?86-*-solaris2.9 || { i?86-*-solaris2.10 && ilp32 } } } }
// libstdc++/14220
void test01()

View File

@ -1,6 +1,7 @@
// 1999-04-12 bkoz
// Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009
// Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009,
// 2010
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
@ -20,10 +21,10 @@
// 27.6.1.2.2 arithmetic extractors
// XXX This test fails on sparc-solaris2 because of a bug in libc
// XXX This test fails on Solaris 8 and 9 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* } || lax_strtofp } } }
// { dg-do run { xfail { { *-*-solaris2.[89] } || lax_strtofp } } }
#include <istream>
#include <sstream>

View File

@ -1,4 +1,5 @@
// Copyright (C) 2004, 2005, 2006, 2007, 2009 Free Software Foundation, Inc.
// Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -17,10 +18,10 @@
// 27.6.1.2.2 arithmetic extractors
// XXX This test fails on sparc-solaris2 because of a bug in libc
// XXX This test fails on Solaris 8 and 9 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* } || lax_strtofp } } }
// { dg-do run { xfail { { *-*-solaris2.[89] } || lax_strtofp } } }
#include <istream>
#include <sstream>

View File

@ -1,6 +1,10 @@
// Before Solaris 11, iconv -f ISO-8859-1 -t ISO-8859-1 fails with
// Not supported ISO-8859-1 to ISO-8859-1
//
// { dg-do run { xfail *-*-solaris2.[89] *-*-solaris2.10 } }
// { dg-require-iconv "ISO-8859-1" }
// Copyright (C) 2004, 2005, 2006, 2007, 2009 Free Software Foundation
// Copyright (C) 2004, 2005, 2006, 2007, 2009, 2010 Free Software Foundation
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the