summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorjbeulich <jbeulich@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-19 06:47:50 +0000
committerjbeulich <jbeulich@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-19 06:47:50 +0000
commitc62a2234539a6c6429e6943eef62731234c7c565 (patch)
tree1ae6c75af7fbcd5a7e8556b45df275fcac2022cb /libstdc++-v3
parent1569b5a36f65a5ec3490f0d68396331772160190 (diff)
downloadgcc-c62a2234539a6c6429e6943eef62731234c7c565.tar.gz
gcc/
2005-05-19 Jan Beulich <jbeulich@novell.com> * unwind-compat.c: Include tconfig.h and tsystem.h. * unwind-dw2-fde-compat.c: Likewise. libstdc++-v3/ 2005-05-19 Jan Beulich <jbeulich@novell.com> * libsupc++/unwind-cxx.h: Include cstdlib. (gcc_unreachable): #define. * libsupc++/eh_personality.cc (gcc_unreachable): Remove #define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99952 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/libsupc++/eh_personality.cc1
-rw-r--r--libstdc++-v3/libsupc++/unwind-cxx.h2
3 files changed, 8 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 50db6bb11bf..08ff5caa882 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,9 @@
+2005-05-19 Jan Beulich <jbeulich@novell.com>
+
+ * libsupc++/unwind-cxx.h: Include cstdlib.
+ (gcc_unreachable): #define.
+ * libsupc++/eh_personality.cc (gcc_unreachable): Remove #define.
+
2005-05-18 Paolo Carlini <pcarlini@suse.de>
Nathan Myers <ncm@cantrip.org>
diff --git a/libstdc++-v3/libsupc++/eh_personality.cc b/libstdc++-v3/libsupc++/eh_personality.cc
index ae8756b04ce..4d5ae57b8d2 100644
--- a/libstdc++-v3/libsupc++/eh_personality.cc
+++ b/libstdc++-v3/libsupc++/eh_personality.cc
@@ -35,7 +35,6 @@
using namespace __cxxabiv1;
-#define gcc_unreachable() std::abort()
#include "unwind-pe.h"
diff --git a/libstdc++-v3/libsupc++/unwind-cxx.h b/libstdc++-v3/libsupc++/unwind-cxx.h
index e79dd83628e..4fa4b4139f7 100644
--- a/libstdc++-v3/libsupc++/unwind-cxx.h
+++ b/libstdc++-v3/libsupc++/unwind-cxx.h
@@ -38,6 +38,8 @@
#include <typeinfo>
#include <exception>
#include <cstddef>
+#include <cstdlib>
+#define gcc_unreachable() std::abort()
#include "unwind.h"
#pragma GCC visibility push(default)