From d98fd13429d8819de437e6a681aebea99e3edbfe Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Thu, 30 Dec 2004 00:21:10 +0000 Subject: Minimal fixes for -fno-exceptions. 2004-12-29 Paolo Carlini Minimal fixes for -fno-exceptions. * src/bitmap_allocator.cc (free_list::_M_get): Use __throw_exception_again, instead of plain throw. * testsuite/testsuite_abi.cc (get_symbol, examine_symbol, create_symbols): Likewise. * testsuite/testsuite_hooks.cc (verify_demangle, run_tests_wrapped_locale, run_tests_wrapped_env): Likewise. (try_named_locale): Wrap the whole catch in __EXCEPTIONS. From-SVN: r92720 --- libstdc++-v3/src/bitmap_allocator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libstdc++-v3/src') diff --git a/libstdc++-v3/src/bitmap_allocator.cc b/libstdc++-v3/src/bitmap_allocator.cc index b953ffd..6e774a2 100644 --- a/libstdc++-v3/src/bitmap_allocator.cc +++ b/libstdc++-v3/src/bitmap_allocator.cc @@ -96,7 +96,7 @@ namespace __gnu_cxx *__ret = __sz; return __ret + 1; } - throw std::bad_alloc(); + __throw_exception_again std::bad_alloc(); } else { -- cgit v1.1