aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2005-05-17 15:37:47 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2005-05-17 15:37:47 +0000
commit79d0dfa314d6b7d1db89735809d7f7f19b5efd86 (patch)
tree386dad5929e3765399d5b24a1e7d76be228b6d15 /libstdc++-v3
parentd0f11b16532d9c96c3a32ec284bd4470c67ba4b4 (diff)
downloadgcc-79d0dfa314d6b7d1db89735809d7f7f19b5efd86.zip
gcc-79d0dfa314d6b7d1db89735809d7f7f19b5efd86.tar.gz
gcc-79d0dfa314d6b7d1db89735809d7f7f19b5efd86.tar.bz2
unwind-dw2-fde-glibc.c (base_from_cb_data, [...]): Use gcc_assert and gcc_unreachable as appropriate.
* unwind-dw2-fde-glibc.c (base_from_cb_data, _Unwind_IteratePhdrCallback): Use gcc_assert and gcc_unreachable as appropriate. * unwind-dw2-fde.c (__deregister_frame_info_bases, base_from_object, fde_split, end_fde_sort): Likewise. * unwind-dw2.c (_Unwind_GetGR, _Unwind_SetGR, execute_stack_op, execute_cfa_program, _Unwind_SetSpColumn, uw_update_context_1, uw_init_context_1): Likewise. * unwind.inc (_Unwind_RaiseException_Phase2, _Unwind_Resume, _Unwind_Resume_or_Rethrow): Likewise. * unwind-pe.h (__gxx_abort): Do not define. (size_of_encoded_value, base_of_encoded_value, read_encoded_value_with_base): Use gcc_unreachable. * unwind.h (_Unwind_GetTextRelBase): Likewise. From-SVN: r99835
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog4
-rw-r--r--libstdc++-v3/libsupc++/eh_personality.cc1
2 files changed, 5 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 485d9ec..b265c8b 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,7 @@
+2005-05-17 Nathan Sidwell <nathan@codesourcery.com>
+
+ * libsupc++/eh_personality.cc (gcc_unreachable): Define.
+
2005-05-16 Paolo Carlini <pcarlini@suse.de>
* docs/html/install.html: Update list of required named
diff --git a/libstdc++-v3/libsupc++/eh_personality.cc b/libstdc++-v3/libsupc++/eh_personality.cc
index 4d5ae57..ae8756b0 100644
--- a/libstdc++-v3/libsupc++/eh_personality.cc
+++ b/libstdc++-v3/libsupc++/eh_personality.cc
@@ -35,6 +35,7 @@
using namespace __cxxabiv1;
+#define gcc_unreachable() std::abort()
#include "unwind-pe.h"