summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/bits
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include/bits')
-rw-r--r--libstdc++-v3/include/bits/locale_facets.h2
-rw-r--r--libstdc++-v3/include/bits/pthread_allocimpl.h2
-rw-r--r--libstdc++-v3/include/bits/std_ios.h2
-rw-r--r--libstdc++-v3/include/bits/std_stdexcept.h2
-rw-r--r--libstdc++-v3/include/bits/stl_algobase.h2
-rw-r--r--libstdc++-v3/include/bits/stl_alloc.h2
-rw-r--r--libstdc++-v3/include/bits/stl_construct.h2
-rw-r--r--libstdc++-v3/include/bits/valarray_array.h2
8 files changed, 8 insertions, 8 deletions
diff --git a/libstdc++-v3/include/bits/locale_facets.h b/libstdc++-v3/include/bits/locale_facets.h
index 1df9114ce4c..6f4ae6a23da 100644
--- a/libstdc++-v3/include/bits/locale_facets.h
+++ b/libstdc++-v3/include/bits/locale_facets.h
@@ -37,7 +37,7 @@
#define _CPP_BITS_LOCFACETS_H 1
#include <bits/std_ctime.h> // For struct tm
-#include <bits/std_typeinfo.h> // For bad_cast, which shouldn't be here.
+#include <typeinfo> // For bad_cast, which shouldn't be here.
#include <bits/std_ios.h> // For ios_base
#include <bits/std_cwctype.h> // For wctype_t
diff --git a/libstdc++-v3/include/bits/pthread_allocimpl.h b/libstdc++-v3/include/bits/pthread_allocimpl.h
index 3b63127ced7..dd99150b2c7 100644
--- a/libstdc++-v3/include/bits/pthread_allocimpl.h
+++ b/libstdc++-v3/include/bits/pthread_allocimpl.h
@@ -35,7 +35,7 @@
#endif
#ifndef __STL_NO_BAD_ALLOC
-# include <bits/std_new.h>
+# include <new>
#endif
__STL_BEGIN_NAMESPACE
diff --git a/libstdc++-v3/include/bits/std_ios.h b/libstdc++-v3/include/bits/std_ios.h
index 5c61547bff9..7fba3d75b2e 100644
--- a/libstdc++-v3/include/bits/std_ios.h
+++ b/libstdc++-v3/include/bits/std_ios.h
@@ -35,7 +35,7 @@
#define _CPP_IOS 1
#include <bits/std_iosfwd.h>
-#include <bits/std_exception.h> // For ios_base::failure
+#include <exception> // For ios_base::failure
#include <bits/char_traits.h> // For char_traits, streamoff, streamsize, fpos
#include <bits/stl_string_fwd.h>// For string.
#include <bits/std_cstdio.h> // For SEEK_SET, SEEK_CUR, SEEK_END
diff --git a/libstdc++-v3/include/bits/std_stdexcept.h b/libstdc++-v3/include/bits/std_stdexcept.h
index 691b9b5825e..05b351116cd 100644
--- a/libstdc++-v3/include/bits/std_stdexcept.h
+++ b/libstdc++-v3/include/bits/std_stdexcept.h
@@ -14,7 +14,7 @@
#ifndef _CPP_STDEXCEPT
#define _CPP_STDEXCEPT 1
-#include <bits/std_exception.h>
+#include <exception>
#if defined(__STL_USE_EXCEPTIONS) || \
!(defined(_MIPS_SIM) && defined(_ABIO32) && _MIPS_SIM == _ABIO32)
diff --git a/libstdc++-v3/include/bits/stl_algobase.h b/libstdc++-v3/include/bits/stl_algobase.h
index 71889e0853f..5a8a576e97f 100644
--- a/libstdc++-v3/include/bits/stl_algobase.h
+++ b/libstdc++-v3/include/bits/stl_algobase.h
@@ -44,7 +44,7 @@
#include <bits/std_climits.h>
#include <bits/std_cstdlib.h>
#include <bits/std_cstddef.h>
-#include <bits/std_new.h>
+#include <new>
#ifdef __STL_USE_NEW_IOSTREAMS
#include <iosfwd>
diff --git a/libstdc++-v3/include/bits/stl_alloc.h b/libstdc++-v3/include/bits/stl_alloc.h
index ca22b90699f..c8332167f01 100644
--- a/libstdc++-v3/include/bits/stl_alloc.h
+++ b/libstdc++-v3/include/bits/stl_alloc.h
@@ -44,7 +44,7 @@
# include <bits/std_cstdlib.h>
# define __THROW_BAD_ALLOC fprintf(stderr, "out of memory\n"); exit(1)
# else /* Standard conforming out-of-memory handling */
-# include <bits/std_new.h>
+# include <new>
# define __THROW_BAD_ALLOC throw std::bad_alloc()
# endif
#endif
diff --git a/libstdc++-v3/include/bits/stl_construct.h b/libstdc++-v3/include/bits/stl_construct.h
index 7841f8dc75e..c23b77ea993 100644
--- a/libstdc++-v3/include/bits/stl_construct.h
+++ b/libstdc++-v3/include/bits/stl_construct.h
@@ -31,7 +31,7 @@
#ifndef _CPP_BITS_STL_CONSTRUCT_H
#define _CPP_BITS_STL_CONSTRUCT_H 1
-#include <bits/std_new.h>
+#include <new>
__STL_BEGIN_NAMESPACE
diff --git a/libstdc++-v3/include/bits/valarray_array.h b/libstdc++-v3/include/bits/valarray_array.h
index 2c88877bd28..a97bec9856f 100644
--- a/libstdc++-v3/include/bits/valarray_array.h
+++ b/libstdc++-v3/include/bits/valarray_array.h
@@ -36,7 +36,7 @@
#include <bits/cpp_type_traits.h>
#include <bits/std_cstdlib.h>
#include <bits/std_cstring.h>
-#include <bits/std_new.h>
+#include <new>
namespace std
{
OpenPOWER on IntegriCloud