Don't XFAIL 22_locale/num_put/put/*char/14220.cc on 32-bit Solaris 10/x86

* testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
	32-bit Solaris 10/x86.
	* testsuite/22_locale/num_put/put/wchar_t/14220.cc: Likewise.

From-SVN: r183442
This commit is contained in:
Rainer Orth 2012-01-23 17:46:34 +00:00 committed by Rainer Orth
parent 0ebdd7a80f
commit 36ff4a7af7
3 changed files with 14 additions and 8 deletions

View File

@ -1,3 +1,10 @@
2012-01-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
libstdc++-v3:
* testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
32-bit Solaris 10/x86.
* testsuite/22_locale/num_put/put/wchar_t/14220.cc: Likewise.
2012-01-21 Jonathan Wakely <jwakely.gcc@gmail.com>
PR libstdc++/50982

View File

@ -1,6 +1,6 @@
// 2004-04-30 Paolo Carlini <pcarlini@suse.de>
// Copyright (C) 2004, 2009, 2010, 2011 Free Software Foundation
// Copyright (C) 2004, 2009, 2010, 2011, 2012 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,12 +19,11 @@
// 22.2.2.2.1 num_put members
// On Solaris 9/x86 and 32-bit Solaris 10/x86, this test crashes in libc.
// Inside libstdc++, we call sprintf like so:
// On Solaris 9/x86 and 32-bit Solaris 10/x86 before update 10, this test
// crashes in libc. Inside libstdc++, we call sprintf like so:
// sprintf (buffer, "%.*f", 1000, 1.0)
// which crashes.
// { dg-xfail-run-if "" i?86-*-solaris2.9 }
// { dg-xfail-run-if "" { i?86-*-solaris2.10 && ilp32 } }
#include <locale>
#include <sstream>

View File

@ -1,6 +1,6 @@
// 2004-04-30 Paolo Carlini <pcarlini@suse.de>
// Copyright (C) 2004, 2009, 2010 Free Software Foundation
// Copyright (C) 2004, 2009, 2010, 2012 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 9 and 32-bit Solaris 10/x86, this test crashes in libc. Inside
// libstdc++, we call sprintf like so:
// On Solaris 9 and 32-bit Solaris 10/x86 before update 10, 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.9 || { i?86-*-solaris2.10 && ilp32 } } } }
// { dg-do run { xfail { i?86-*-solaris2.9 } } }
// libstdc++/14220
void test01()