diff options
author | Paolo Carlini <pcarlini@suse.de> | 2004-12-30 00:21:10 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2004-12-30 00:21:10 +0000 |
commit | d98fd13429d8819de437e6a681aebea99e3edbfe (patch) | |
tree | 53fbaf5bf7be5d0613a639ddf4b5d53dbddcadd2 /libstdc++-v3/src | |
parent | b53948b951e8fddb8f1cafa910c3da5a2a158fee (diff) | |
download | gcc-d98fd13429d8819de437e6a681aebea99e3edbfe.zip gcc-d98fd13429d8819de437e6a681aebea99e3edbfe.tar.gz gcc-d98fd13429d8819de437e6a681aebea99e3edbfe.tar.bz2 |
Minimal fixes for -fno-exceptions.
2004-12-29 Paolo Carlini <pcarlini@suse.de>
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
Diffstat (limited to 'libstdc++-v3/src')
-rw-r--r-- | libstdc++-v3/src/bitmap_allocator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |