Likewise.
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-3.cc:
Likewise.
* testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-4.cc:
Likewise.
* testsuite/ext/vstring/inserters_extractors/wchar_t/28277.cc:
Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145027
138bc75d-0d04-0410-961f-
82ee72b054a4
2009-03-22 Mark Mitchell <mark@codesourcery.com>
+ * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/28277.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-3.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-4.cc:
+ Likewise.
+ * testsuite/ext/vstring/inserters_extractors/wchar_t/28277.cc:
+ Likewise.
+
+2009-03-22 Mark Mitchell <mark@codesourcery.com>
+
* testsuite/25_algorithms/search_n/iterator.cc: Update copyright
year(s).
* testsuite/25_algorithms/heap/moveable.cc: Likewise.
// 2006-10-12 Paolo Carlini <pcarlini@suse.de>
-// Copyright (C) 2006, 2007 Free Software Foundation
+// Copyright (C) 2006, 2007, 2008, 2009 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
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA.
+// { dg-options "-DWIDTH=500000" { target simulator } }
+
// 21.3.7.9 inserters and extractors
#include <ostream>
#include <sstream>
#include <testsuite_hooks.h>
+#ifndef WIDTH
+#define WIDTH 50000000
+#endif
+
// libstdc++/28277
void test01()
{
wostringstream oss_01;
const wstring str_01(50, L'a');
- oss_01.width(5000000);
+ oss_01.width(WIDTH);
const streamsize width = oss_01.width();
oss_01 << str_01;
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA.
+// { dg-options "-DWIDTH=500000" { target simulator } }
+
// 27.6.2.5.4 basic_ostream character inserters
#include <ostream>
#include <sstream>
#include <testsuite_hooks.h>
+#ifndef WIDTH
+#define WIDTH 50000000
+#endif
+
// libstdc++/28277
void test01()
{
wostringstream oss_01;
- oss_01.width(5000000);
+ oss_01.width(WIDTH);
const streamsize width = oss_01.width();
oss_01 << L'a';
// 2006-10-12 Paolo Carlini <pcarlini@suse.de>
-// Copyright (C) 2006, 2007 Free Software Foundation
+// Copyright (C) 2006, 2007, 2008, 2009 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
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA.
+// { dg-options "-DWIDTH=500000" { target simulator } }
+
// 27.6.2.5.4 basic_ostream character inserters
#include <ostream>
#include <sstream>
#include <testsuite_hooks.h>
+#ifndef WIDTH
+#define WIDTH 50000000
+#endif
+
// libstdc++/28277
void test01()
{
wostringstream oss_01;
const wstring str_01(50, L'a');
- oss_01.width(5000000);
+ oss_01.width(WIDTH);
const streamsize width = oss_01.width();
oss_01 << str_01.c_str();
// 2007-04-09 Paolo Carlini <pcarlini@suse.de>
-// Copyright (C) 2007 Free Software Foundation
+// Copyright (C) 2007, 2008, 2009 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
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA.
+// { dg-options "-DWIDTH=500000" { target simulator } }
+
#include <ostream>
#include <sstream>
#include <ext/vstring.h>
#include <testsuite_hooks.h>
+#ifndef WIDTH
+#define WIDTH 50000000
+#endif
+
// libstdc++/28277
void test01()
{
wostringstream oss_01;
const __gnu_cxx::__wvstring str_01(50, L'a');
- oss_01.width(5000000);
+ oss_01.width(WIDTH);
const streamsize width = oss_01.width();
oss_01 << str_01;