Commit b7e2f896 by Paolo Carlini Committed by Paolo Carlini

re PR testsuite/37149 (27_io/basic_ostream/inserters_other/char/error_code.cc)

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
parent 1a87cf0c
2008-08-18 Paolo Carlini <paolo.carlini@oracle.com> 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 * configure.ac: Do not hardcode HAVE_S_ISREG and HAVE_S_IFREG for
newlib. newlib.
* configure: Regenerate. * configure: Regenerate.
......
...@@ -52,6 +52,7 @@ ...@@ -52,6 +52,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <utility> #include <utility>
#include <sstream>
#if defined(_GLIBCXX_INCLUDE_AS_CXX0X) #if defined(_GLIBCXX_INCLUDE_AS_CXX0X)
# include <tr1_impl/regex> # include <tr1_impl/regex>
......
...@@ -50,6 +50,7 @@ ...@@ -50,6 +50,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <utility> #include <utility>
#include <sstream>
#if defined(_GLIBCXX_INCLUDE_AS_TR1) #if defined(_GLIBCXX_INCLUDE_AS_TR1)
# include <tr1_impl/regex> # include <tr1_impl/regex>
......
// 1999-08-16 bkoz // 1999-08-16 bkoz
// 1999-11-01 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 // 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; you can redistribute it and/or modify it under the
...@@ -23,6 +24,7 @@ ...@@ -23,6 +24,7 @@
#include <ostream> #include <ostream>
#include <sstream> #include <sstream>
#include <cstdio>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
class test_buffer_1 : public std::streambuf class test_buffer_1 : public std::streambuf
......
// { dg-options "-std=gnu++0x" } // { 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 // 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; you can redistribute it and/or modify it under the
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <sstream> #include <sstream>
#include <system_error> #include <system_error>
#include <algorithm> #include <algorithm>
#include <cstdio>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
// Effects: os << ec.category().name() << ':' << ec.value(); // Effects: os << ec.category().name() << ':' << ec.value();
......
// Derived from libstdc++/12048 by LJR <ljrittle@acm.org> with // Derived from libstdc++/12048 by LJR <ljrittle@acm.org> with
// reminder from Petur Runolfsson <peturr02@ru.is>. // 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 // 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; you can redistribute it and/or modify it under the
...@@ -22,6 +23,7 @@ ...@@ -22,6 +23,7 @@
// { dg-require-fileio "" } // { dg-require-fileio "" }
#include <iostream> #include <iostream>
#include <cstdio>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
void void
......
// 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 // 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; you can redistribute it and/or modify it under the
...@@ -19,6 +20,7 @@ ...@@ -19,6 +20,7 @@
// { dg-require-fileio "" } // { dg-require-fileio "" }
#include <iostream> #include <iostream>
#include <cstdio>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
void void
......
// Derived from libstdc++/12048 by LJR <ljrittle@acm.org> with // Derived from libstdc++/12048 by LJR <ljrittle@acm.org> with
// reminder from Petur Runolfsson <peturr02@ru.is>. // 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 // 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; you can redistribute it and/or modify it under the
...@@ -20,6 +21,7 @@ ...@@ -20,6 +21,7 @@
// USA. // USA.
#include <iostream> #include <iostream>
#include <cstdio>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
void void
......
// Derived from libstdc++/12048 by LJR <ljrittle@acm.org> with // Derived from libstdc++/12048 by LJR <ljrittle@acm.org> with
// reminder from Petur Runolfsson <peturr02@ru.is>. // 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 // 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; you can redistribute it and/or modify it under the
...@@ -21,6 +22,7 @@ ...@@ -21,6 +22,7 @@
#include <iostream> #include <iostream>
#include <cwchar> #include <cwchar>
#include <cstdio>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
void void
......
// //
// 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 // 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; you can redistribute it and/or modify it under the
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include <string> #include <string>
#include <stdexcept> #include <stdexcept>
#include <cstdio>
#include <ext/malloc_allocator.h> #include <ext/malloc_allocator.h>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
// //
// 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 // 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; you can redistribute it and/or modify it under the
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
// 20.4.1.1 allocator members // 20.4.1.1 allocator members
#include <string> #include <string>
#include <cstdio>
#include <ext/malloc_allocator.h> #include <ext/malloc_allocator.h>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
......
// //
// 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 // 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; you can redistribute it and/or modify it under the
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <list> #include <list>
#include <string> #include <string>
#include <stdexcept> #include <stdexcept>
#include <cstdio>
#include <ext/mt_allocator.h> #include <ext/mt_allocator.h>
static size_t count; static size_t count;
......
// //
// 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 // 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; you can redistribute it and/or modify it under the
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <list> #include <list>
#include <string> #include <string>
#include <stdexcept> #include <stdexcept>
#include <cstdio>
#include <ext/mt_allocator.h> #include <ext/mt_allocator.h>
static size_t count; static size_t count;
......
// //
// 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 // 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; you can redistribute it and/or modify it under the
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <list> #include <list>
#include <string> #include <string>
#include <stdexcept> #include <stdexcept>
#include <cstdio>
#include <ext/mt_allocator.h> #include <ext/mt_allocator.h>
static size_t count; static size_t count;
......
// //
// 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 // 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; you can redistribute it and/or modify it under the
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <list> #include <list>
#include <string> #include <string>
#include <stdexcept> #include <stdexcept>
#include <cstdio>
#include <ext/mt_allocator.h> #include <ext/mt_allocator.h>
static size_t count; static size_t count;
......
// //
// 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 // 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; you can redistribute it and/or modify it under the
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include <string> #include <string>
#include <stdexcept> #include <stdexcept>
#include <cstdio>
#include <ext/mt_allocator.h> #include <ext/mt_allocator.h>
static size_t count; static size_t count;
......
// //
// 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 // 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; you can redistribute it and/or modify it under the
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include <string> #include <string>
#include <stdexcept> #include <stdexcept>
#include <cstdio>
#include <ext/mt_allocator.h> #include <ext/mt_allocator.h>
static size_t count; static size_t count;
......
// { dg-require-cxa-atexit "" } // { 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 // 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; you can redistribute it and/or modify it under the
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <string> #include <string>
#include <stdexcept> #include <stdexcept>
#include <cstdio>
#include <ext/mt_allocator.h> #include <ext/mt_allocator.h>
static size_t count; static size_t count;
......
// { dg-require-cxa-atexit "" } // { 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 // 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; you can redistribute it and/or modify it under the
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <string> #include <string>
#include <stdexcept> #include <stdexcept>
#include <cstdio>
#include <ext/mt_allocator.h> #include <ext/mt_allocator.h>
static size_t count; static size_t count;
......
// //
// 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 // 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; you can redistribute it and/or modify it under the
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include <string> #include <string>
#include <stdexcept> #include <stdexcept>
#include <cstdio>
#include <ext/mt_allocator.h> #include <ext/mt_allocator.h>
static size_t count; static size_t count;
......
// //
// 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 // 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; you can redistribute it and/or modify it under the
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#include <string> #include <string>
#include <stdexcept> #include <stdexcept>
#include <cstdio>
#include <ext/mt_allocator.h> #include <ext/mt_allocator.h>
static size_t count; static size_t count;
......
// { dg-require-cxa-atexit "" } // { 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 // 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; you can redistribute it and/or modify it under the
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <string> #include <string>
#include <stdexcept> #include <stdexcept>
#include <cstdio>
#include <ext/mt_allocator.h> #include <ext/mt_allocator.h>
static size_t count; static size_t count;
......
// { dg-require-cxa-atexit "" } // { 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 // 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; you can redistribute it and/or modify it under the
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <string> #include <string>
#include <stdexcept> #include <stdexcept>
#include <cstdio>
#include <ext/mt_allocator.h> #include <ext/mt_allocator.h>
static size_t count; static size_t count;
......
// //
// 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 // 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; you can redistribute it and/or modify it under the
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <string> #include <string>
#include <stdexcept> #include <stdexcept>
#include <cstdlib> #include <cstdlib>
#include <cstdio>
#include <ext/new_allocator.h> #include <ext/new_allocator.h>
static size_t count; static size_t count;
......
// //
// 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 // 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; you can redistribute it and/or modify it under the
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <string> #include <string>
#include <stdexcept> #include <stdexcept>
#include <cstdlib> #include <cstdlib>
#include <cstdio>
#include <ext/new_allocator.h> #include <ext/new_allocator.h>
static size_t count; static size_t count;
......
// { dg-require-namedlocale "" } // { 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 // 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; you can redistribute it and/or modify it under the
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include <iostream> #include <iostream>
#include <locale> #include <locale>
#include <cstdio>
#include <testsuite_hooks.h> #include <testsuite_hooks.h>
// libstdc++/12077 // libstdc++/12077
......
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