From 2501129262f37369070afc24a6505c3d4a3c6d44 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Sun, 11 Sep 2016 11:19:30 +0100 Subject: [PATCH] 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 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/libsupc++/new_opant.cc | 1 + libstdc++-v3/libsupc++/new_opvant.cc | 1 + 3 files changed, 7 insertions(+) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4ba6593664b..a73c1d96263 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2016-09-11 Jonathan Wakely + + * libsupc++/new_opant.cc: Include exception_defines.h. + * libsupc++/new_opvant.cc: Likewise. + 2016-09-09 Jason Merrill 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 c863d64f2d4..1c6ccab809e 100644 --- a/libstdc++-v3/libsupc++/new_opant.cc +++ b/libstdc++-v3/libsupc++/new_opant.cc @@ -24,6 +24,7 @@ // . #include +#include #include "new" _GLIBCXX_WEAK_DEFINITION void* diff --git a/libstdc++-v3/libsupc++/new_opvant.cc b/libstdc++-v3/libsupc++/new_opvant.cc index a32fec8432a..2b295472120 100644 --- a/libstdc++-v3/libsupc++/new_opvant.cc +++ b/libstdc++-v3/libsupc++/new_opvant.cc @@ -24,6 +24,7 @@ // . #include +#include #include "new" _GLIBCXX_WEAK_DEFINITION void* -- 2.30.2