]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR testsuite/37149 (27_io/basic_ostream/inserters_other/char/error_code.cc)
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 18 Aug 2008 17:48:15 +0000 (17:48 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 18 Aug 2008 17:48:15 +0000 (17:48 +0000)
2008-08-18  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/37149
* testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Include
<cstdio>.
* testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
Likewise.
* testsuite/27_io/objects/char/12048-1.cc: Likewise.
* testsuite/27_io/objects/char/12048-3.cc: Likewise.
* testsuite/27_io/objects/wchar_t/12048-1.cc: Likewise.
* testsuite/27_io/objects/wchar_t/12048-3.cc: Likewise.
* testsuite/ext/malloc_allocator/deallocate_global.cc: Likewise.
* testsuite/ext/malloc_allocator/deallocate_local.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_global-2.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_local-6.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_local-8.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: Likewise.
* testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: Likewise.
* testsuite/ext/new_allocator/deallocate_global.cc: Likewise.
* testsuite/ext/new_allocator/deallocate_local.cc: Likewise.
* testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
* include/std/regex: Include <sstream>.
* include/tr1/regex: Likewise.

From-SVN: r139206

26 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/regex
libstdc++-v3/include/tr1/regex
libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/4.cc
libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc
libstdc++-v3/testsuite/27_io/objects/char/12048-1.cc
libstdc++-v3/testsuite/27_io/objects/char/12048-3.cc
libstdc++-v3/testsuite/27_io/objects/wchar_t/12048-1.cc
libstdc++-v3/testsuite/27_io/objects/wchar_t/12048-3.cc
libstdc++-v3/testsuite/ext/malloc_allocator/deallocate_global.cc
libstdc++-v3/testsuite/ext/malloc_allocator/deallocate_local.cc
libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global-2.cc
libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global-4.cc
libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global_thread-1.cc
libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global_thread-3.cc
libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local-2.cc
libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local-4.cc
libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local-6.cc
libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local-8.cc
libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local_thread-1.cc
libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local_thread-3.cc
libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local_thread-5.cc
libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local_thread-7.cc
libstdc++-v3/testsuite/ext/new_allocator/deallocate_global.cc
libstdc++-v3/testsuite/ext/new_allocator/deallocate_local.cc
libstdc++-v3/testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc

index 2274371b86f8d06c956c36dac0d2c72069b85e8c..ab960cb2b49094f4dfc267d6a6673c53b7f14b6a 100644 (file)
@@ -1,3 +1,34 @@
+2008-08-18  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR libstdc++/37149
+       * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Include
+       <cstdio>.
+       * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
+       Likewise.
+       * testsuite/27_io/objects/char/12048-1.cc: Likewise.
+       * testsuite/27_io/objects/char/12048-3.cc: Likewise.
+       * testsuite/27_io/objects/wchar_t/12048-1.cc: Likewise.
+       * testsuite/27_io/objects/wchar_t/12048-3.cc: Likewise.
+       * testsuite/ext/malloc_allocator/deallocate_global.cc: Likewise.
+       * testsuite/ext/malloc_allocator/deallocate_local.cc: Likewise.
+       * testsuite/ext/mt_allocator/deallocate_global-2.cc: Likewise.
+       * testsuite/ext/mt_allocator/deallocate_global-4.cc: Likewise.
+       * testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: Likewise.
+       * testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: Likewise.
+       * testsuite/ext/mt_allocator/deallocate_local-2.cc: Likewise.
+       * testsuite/ext/mt_allocator/deallocate_local-4.cc: Likewise.
+       * testsuite/ext/mt_allocator/deallocate_local-6.cc: Likewise.
+       * testsuite/ext/mt_allocator/deallocate_local-8.cc: Likewise.
+       * testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: Likewise.
+       * testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: Likewise.
+       * testsuite/ext/mt_allocator/deallocate_local_thread-5.cc: Likewise.
+       * testsuite/ext/mt_allocator/deallocate_local_thread-7.cc: Likewise.
+       * testsuite/ext/new_allocator/deallocate_global.cc: Likewise.
+       * testsuite/ext/new_allocator/deallocate_local.cc: Likewise.
+       * testsuite/ext/stdio_sync_filebuf/wchar_t/12077.cc: Likewise.
+       * include/std/regex: Include <sstream>.
+       * include/tr1/regex: Likewise.
+
 2008-08-18  Paolo Carlini  <paolo.carlini@oracle.com>
 
        * configure.ac: Do not hardcode HAVE_S_ISREG and HAVE_S_IFREG for
index 00d6f696a55a0c15455698ca75a7ea1b65c44c13..f7cda63baf7635399041832287f6f16ce7228862 100644 (file)
@@ -52,6 +52,7 @@
 #include <string>
 #include <vector>
 #include <utility>
+#include <sstream>
 
 #if defined(_GLIBCXX_INCLUDE_AS_CXX0X)
 #  include <tr1_impl/regex>
index 028297799af2165f9f2f6378c346b7ef5ce833ba..bff65f7a6f537237e962a26d94d8784ac141d573 100644 (file)
@@ -50,6 +50,7 @@
 #include <string>
 #include <vector>
 #include <utility>
+#include <sstream>
 
 #if defined(_GLIBCXX_INCLUDE_AS_TR1)
 #  include <tr1_impl/regex>
index 2745cb63f9f436978569da7fe54d341184675b7d..147e2a881e957900dd73f0fae58a267af181b53b 100644 (file)
@@ -1,7 +1,8 @@
 // 1999-08-16 bkoz
 // 1999-11-01 bkoz
 
-// Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation
+// Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
+// 2008 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,6 +24,7 @@
 
 #include <ostream>
 #include <sstream>
+#include <cstdio>
 #include <testsuite_hooks.h>
 
 class test_buffer_1 : public std::streambuf 
index 71c93e8d1b924ee8210c3f324aeb825efaf4ac72..e4814d6f5d92718908e4b82038b35a771399becc 100644 (file)
@@ -1,6 +1,6 @@
 // { dg-options "-std=gnu++0x" }
 
-// Copyright (C) 2007 Free Software Foundation
+// Copyright (C) 2007, 2008 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
@@ -22,6 +22,7 @@
 #include <sstream>
 #include <system_error>
 #include <algorithm>
+#include <cstdio>
 #include <testsuite_hooks.h>
 
 //   Effects: os << ec.category().name() << ':' << ec.value();
index 6e18e580b32f4d64196d57012f79cd9b25fa0e36..7570d8f1416e207aa03f02bed53dc20dc58ccab8 100644 (file)
@@ -1,7 +1,8 @@
 // Derived from libstdc++/12048 by LJR <ljrittle@acm.org> with
 // reminder from Petur Runolfsson <peturr02@ru.is>.
 
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008
+// 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
@@ -22,6 +23,7 @@
 // { dg-require-fileio "" }
 
 #include <iostream>
+#include <cstdio>
 #include <testsuite_hooks.h>
 
 void
index 75b4eaa5f17c17864d79a81fa6b2cd1360d854a6..b1f70763abadcd7bd32ac51a5fedd8d79acbd5fb 100644 (file)
@@ -1,4 +1,5 @@
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008
+// 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
@@ -19,6 +20,7 @@
 // { dg-require-fileio "" }
 
 #include <iostream>
+#include <cstdio>
 #include <testsuite_hooks.h>
 
 void
index 183fda95dd3802acb1096b59ee7af546761b0d5c..54b32483da4fb6f58be55eb67deac7d5039704f3 100644 (file)
@@ -1,7 +1,8 @@
 // Derived from libstdc++/12048 by LJR <ljrittle@acm.org> with
 // reminder from Petur Runolfsson <peturr02@ru.is>.
 
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008
+// 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
@@ -20,6 +21,7 @@
 // USA.
 
 #include <iostream>
+#include <cstdio>
 #include <testsuite_hooks.h>
 
 void
index 3f5dfeacb632f4f34a324dac246b25e2965599c2..24b572ed1b2adb9ce7f9d13d64d685fabee1e8bc 100644 (file)
@@ -1,7 +1,8 @@
 // Derived from libstdc++/12048 by LJR <ljrittle@acm.org> with
 // reminder from Petur Runolfsson <peturr02@ru.is>.
 
-// Copyright (C) 2003 Free Software Foundation, Inc.
+// Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008
+// 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
@@ -21,6 +22,7 @@
 
 #include <iostream>
 #include <cwchar>
+#include <cstdio>
 #include <testsuite_hooks.h>
 
 void
index 97604735f2029f1f19eb9bde1a6bf80e131687db..35d507b75bdb38aa1c22e941a8eda1bdd762b4ce 100644 (file)
@@ -1,5 +1,5 @@
 //
-// Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2005, 2006, 2007, 2008 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
@@ -21,6 +21,7 @@
 
 #include <string>
 #include <stdexcept>
+#include <cstdio>
 #include <ext/malloc_allocator.h>
 #include <testsuite_hooks.h>
 
index aafffae9d707773021048125ee263676dc3f2511..2458e2cb3ad7d8e96dc276f3b351b6a65f68972c 100644 (file)
@@ -1,5 +1,5 @@
 //
-// Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2005, 2006, 2007, 2008 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
@@ -20,6 +20,7 @@
 // 20.4.1.1 allocator members
 
 #include <string>
+#include <cstdio>
 #include <ext/malloc_allocator.h>
 #include <testsuite_hooks.h>
 
index f04307d4f57b8cf20f3c556081f46b972fa892f2..61cec2655bb36e6e94287a28b427433a85cce14b 100644 (file)
@@ -1,5 +1,5 @@
 //
-// Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2005, 2006, 2007, 2008 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
@@ -22,6 +22,7 @@
 #include <list>
 #include <string>
 #include <stdexcept>
+#include <cstdio>
 #include <ext/mt_allocator.h>
 
 static size_t count;
index c586903783e4f1ac68bdfaa46943cdcfb795f6e7..a98b80e500a51ec03f1078e0c7af300562df7556 100644 (file)
@@ -1,5 +1,5 @@
 //
-// Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2005, 2006, 2007, 2008 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
@@ -22,6 +22,7 @@
 #include <list>
 #include <string>
 #include <stdexcept>
+#include <cstdio>
 #include <ext/mt_allocator.h>
 
 static size_t count;
index aee49f822c473aa91218879ab2413320a8b23e78..fce62e9d23f72c735b1a82f2fe04ea0c6ec9c766 100644 (file)
@@ -1,5 +1,5 @@
 //
-// Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2005, 2006, 2007, 2008 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
@@ -22,6 +22,7 @@
 #include <list>
 #include <string>
 #include <stdexcept>
+#include <cstdio>
 #include <ext/mt_allocator.h>
 
 static size_t count;
index 0f3174c71e0a0c53ef030b1a9e2330df51afbb47..ba34adb2697efbc72f45e9648b5f4eb0ac074926 100644 (file)
@@ -1,5 +1,5 @@
 //
-// Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2005, 2006, 2007, 2008 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
@@ -22,6 +22,7 @@
 #include <list>
 #include <string>
 #include <stdexcept>
+#include <cstdio>
 #include <ext/mt_allocator.h>
 
 static size_t count;
index 40b30e3b442b9ddc3f2374b31629c40d8d1f9cdf..2155b893c280e18cfe1beb020594e4a91210939b 100644 (file)
@@ -1,5 +1,5 @@
 //
-// Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2005, 2006, 2007, 2008 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
@@ -21,6 +21,7 @@
 
 #include <string>
 #include <stdexcept>
+#include <cstdio>
 #include <ext/mt_allocator.h>
 
 static size_t count;
index ef124bf687fbbbf3bf185cf54d6324f701de1cdb..a7295234888240d3126ad46081e2de459bea1029 100644 (file)
@@ -1,5 +1,5 @@
 //
-// Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2005, 2006, 2007, 2008 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
@@ -21,6 +21,7 @@
 
 #include <string>
 #include <stdexcept>
+#include <cstdio>
 #include <ext/mt_allocator.h>
 
 static size_t count;
index 66ad3063cce91e8ee35f5adfc5ab28cca86979a0..0467bdc1ece59e3799d08924711b61f49b9c7cda 100644 (file)
@@ -1,6 +1,6 @@
 // { dg-require-cxa-atexit "" }
 
-// Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2005, 2006, 2007, 2008 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
@@ -22,6 +22,7 @@
 
 #include <string>
 #include <stdexcept>
+#include <cstdio>
 #include <ext/mt_allocator.h>
 
 static size_t count;
index 49b6fdcbdd591d223ea3c0ce59f0eb3abb2ee08e..e9d7b666d6a84ed7e46cbeb1ecbecf24749b708a 100644 (file)
@@ -1,6 +1,6 @@
 // { dg-require-cxa-atexit "" }
 
-// Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2005, 2006, 2007, 2008 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
@@ -22,6 +22,7 @@
 
 #include <string>
 #include <stdexcept>
+#include <cstdio>
 #include <ext/mt_allocator.h>
 
 static size_t count;
index 445bf1901ee151d53de395d594042b569060da35..fece4b80fd27319390acd5e11b56d3c23fbd53f1 100644 (file)
@@ -1,5 +1,5 @@
 //
-// Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2005, 2006, 2007, 2008 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
@@ -21,6 +21,7 @@
 
 #include <string>
 #include <stdexcept>
+#include <cstdio>
 #include <ext/mt_allocator.h>
 
 static size_t count;
index 3d923d6146b0b02cb6e27cda93b77d0f8fa4f0f7..7e882608c639d563dc354e383d32ca43be461712 100644 (file)
@@ -1,5 +1,5 @@
 //
-// Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2005, 2006, 2007, 2008 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
@@ -21,6 +21,7 @@
 
 #include <string>
 #include <stdexcept>
+#include <cstdio>
 #include <ext/mt_allocator.h>
 
 static size_t count;
index 244bae02fa017b194bf43e399b11db206bd53f25..f065438854d732cedc8d92fa3fcc1e9940f81714 100644 (file)
@@ -1,6 +1,6 @@
 // { dg-require-cxa-atexit "" }
 
-// Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2005, 2006, 2007, 2008 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
@@ -22,6 +22,7 @@
 
 #include <string>
 #include <stdexcept>
+#include <cstdio>
 #include <ext/mt_allocator.h>
 
 static size_t count;
index 55ff20aa78ffc26fc4ee7dfcb22ab10445696899..669b7828c34cf47720bc7b043c0e949917b8087d 100644 (file)
@@ -1,6 +1,6 @@
 // { dg-require-cxa-atexit "" }
 
-// Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2005, 2006, 2007, 2008 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
@@ -22,6 +22,7 @@
 
 #include <string>
 #include <stdexcept>
+#include <cstdio>
 #include <ext/mt_allocator.h>
 
 static size_t count;
index 387e715704a9367c593f172c46c0b2a6c3476101..643a5bee372d4ec112de05358236a9342b05ebde 100644 (file)
@@ -1,5 +1,5 @@
 //
-// Copyright (C) 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2005, 2006, 2007, 2008 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
@@ -22,6 +22,7 @@
 #include <string>
 #include <stdexcept>
 #include <cstdlib>
+#include <cstdio>
 #include <ext/new_allocator.h>
 
 static size_t count;
index 572c34421fb1b22af93be458b8525f2b96074ee1..7f1539dbd084774d71052c823ef2aedf00f63f5c 100644 (file)
@@ -1,5 +1,5 @@
 //
-// Copyright (C) 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2005, 2006, 2007, 2008 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
@@ -22,6 +22,7 @@
 #include <string>
 #include <stdexcept>
 #include <cstdlib>
+#include <cstdio>
 #include <ext/new_allocator.h>
 
 static size_t count;
index 78db3146b3b6fae0e45a02ea585997e31370b67f..d6b60f078ff3763701923938ad7e1600a0325c03 100644 (file)
@@ -1,6 +1,6 @@
 // { dg-require-namedlocale "" }
 
-// Copyright (C) 2004, 2005 Free Software Foundation
+// Copyright (C) 2004, 2005, 2006, 2007, 2008 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
@@ -20,6 +20,7 @@
 
 #include <iostream>
 #include <locale>
+#include <cstdio>
 #include <testsuite_hooks.h>
 
 // libstdc++/12077