aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2016-09-11 11:19:30 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2016-09-11 11:19:30 +0100
commit2501129262f37369070afc24a6505c3d4a3c6d44 (patch)
tree29ff6d97c83e0ce42bb01af1bb65a99bca50925d
parent84ff77e99e519080aea4279a655424510919a89e (diff)
downloadgcc-2501129262f37369070afc24a6505c3d4a3c6d44.zip
gcc-2501129262f37369070afc24a6505c3d4a3c6d44.tar.gz
gcc-2501129262f37369070afc24a6505c3d4a3c6d44.tar.bz2
Fix bootstrap failure when ATOMIC_INT_LOCK_FREE < 2
* libsupc++/new_opant.cc: Include exception_defines.h. * libsupc++/new_opvant.cc: Likewise. From-SVN: r240080
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/libsupc++/new_opant.cc1
-rw-r--r--libstdc++-v3/libsupc++/new_opvant.cc1
3 files changed, 7 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 4ba6593..a73c1d9 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2016-09-11 Jonathan Wakely <jwakely@redhat.com>
+
+ * libsupc++/new_opant.cc: Include exception_defines.h.
+ * libsupc++/new_opvant.cc: Likewise.
+
2016-09-09 Jason Merrill <jason@redhat.com>
Implement P0035R4, C++17 new of over-aligned types.
diff --git a/libstdc++-v3/libsupc++/new_opant.cc b/libstdc++-v3/libsupc++/new_opant.cc
index c863d64..1c6ccab 100644
--- a/libstdc++-v3/libsupc++/new_opant.cc
+++ b/libstdc++-v3/libsupc++/new_opant.cc
@@ -24,6 +24,7 @@
// <http://www.gnu.org/licenses/>.
#include <bits/c++config.h>
+#include <bits/exception_defines.h>
#include "new"
_GLIBCXX_WEAK_DEFINITION void*
diff --git a/libstdc++-v3/libsupc++/new_opvant.cc b/libstdc++-v3/libsupc++/new_opvant.cc
index a32fec8..2b29547 100644
--- a/libstdc++-v3/libsupc++/new_opvant.cc
+++ b/libstdc++-v3/libsupc++/new_opvant.cc
@@ -24,6 +24,7 @@
// <http://www.gnu.org/licenses/>.
#include <bits/c++config.h>
+#include <bits/exception_defines.h>
#include "new"
_GLIBCXX_WEAK_DEFINITION void*