]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
28277.cc: Likewise.
authorMark Mitchell <mark@codesourcery.com>
Tue, 24 Mar 2009 06:37:16 +0000 (06:37 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 24 Mar 2009 06:37:16 +0000 (06:37 +0000)
* 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.

From-SVN: r145027

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/21_strings/basic_string/inserters_extractors/wchar_t/28277.cc
libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-3.cc
libstdc++-v3/testsuite/27_io/basic_ostream/inserters_character/wchar_t/28277-4.cc
libstdc++-v3/testsuite/ext/vstring/inserters_extractors/wchar_t/28277.cc

index 737db55e2580d37524b6f49f9f8fc2dd6c7181a3..eebffbded2ba4d08dfdc6aa84bb9c800ad76a339 100644 (file)
@@ -1,3 +1,14 @@
+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
index 653f4de36db5788da13a7b6498587db24f4ec6c8..35cae2e27d270fe9a9c8394e136c43b8c6b20f94 100644 (file)
@@ -1,6 +1,6 @@
 // 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()
 {
@@ -33,7 +39,7 @@ 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;
index dc5ffe5dff2bd9e8a0e0bc6ed32a981e02db43c6..54cdf33f96a78beefa260e7b54c986af27f79f0a 100644 (file)
 // 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()
 {
@@ -32,7 +38,7 @@ void test01()
 
   wostringstream oss_01;
 
-  oss_01.width(5000000);
+  oss_01.width(WIDTH);
   const streamsize width = oss_01.width();
 
   oss_01 << L'a';
index e80242cf0a7b2b2e2a5be6e9e1f80dd72042c0e8..aff7d9c0b9723d8faf6512d19b1ff5d4d9a9e06c 100644 (file)
@@ -1,6 +1,6 @@
 // 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()
 {
@@ -33,7 +39,7 @@ 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();
index 205a99525f66f38cbe36d347f2b92090be783d81..6358de586b6f6da2cc8cca376b24705126d39e45 100644 (file)
@@ -1,6 +1,6 @@
 // 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()
 {
@@ -32,7 +38,7 @@ 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;