From: Jonathan Wakely Date: Sun, 11 Sep 2016 10:19:30 +0000 (+0100) Subject: Fix bootstrap failure when ATOMIC_INT_LOCK_FREE < 2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2501129262f37369070afc24a6505c3d4a3c6d44;p=gcc.git 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 --- 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*