Commit adcbdf5c by Mark Mitchell Committed by Mark Mitchell

14220.cc: XFAIL on Solaris 2.10.

	* testsuite/22_locale/num_put/put/char/14220.cc: XFAIL on Solaris
	2.10.
	* testsuite/22_locale/num_put/put/wchar_t/14220.cc: Likewise.

From-SVN: r124508
parent 7db2207b
2007-05-07 Mark Mitchell <mark@codesourcery.com> 2007-05-07 Mark Mitchell <mark@codesourcery.com>
* testsuite/22_locale/num_put/put/char/14220.cc: XFAIL on Solaris
2.10.
* testsuite/22_locale/num_put/put/wchar_t/14220.cc: Likewise.
* testsuite/lib/libstdc++.exp (v3_target_compile_as_c): In * testsuite/lib/libstdc++.exp (v3_target_compile_as_c): In
installed-tree testing, use "remote_exec host", not "remote_exec installed-tree testing, use "remote_exec host", not "remote_exec
exec". Trip trailing newlines from output of -dumpversion and exec". Trip trailing newlines from output of -dumpversion and
......
...@@ -20,6 +20,12 @@ ...@@ -20,6 +20,12 @@
// 22.2.2.2.1 num_put members // 22.2.2.2.1 num_put members
// On 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 } } }
#include <locale> #include <locale>
#include <sstream> #include <sstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
...@@ -24,6 +24,12 @@ ...@@ -24,6 +24,12 @@
#include <sstream> #include <sstream>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
// On 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 } } }
// libstdc++/14220 // libstdc++/14220
void test01() void test01()
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment