aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/src
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@redhat.com>2005-01-06 07:08:48 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2005-01-06 07:08:48 +0000
commit56ffd9b3ba4aabf87ccea018096abf64ac7a1fba (patch)
treefb2d84bf63906b7e344def297290378960b40a45 /libstdc++-v3/src
parente358acde2cc2c540b85ab7c5df397d653032b70d (diff)
downloadgcc-56ffd9b3ba4aabf87ccea018096abf64ac7a1fba.zip
gcc-56ffd9b3ba4aabf87ccea018096abf64ac7a1fba.tar.gz
gcc-56ffd9b3ba4aabf87ccea018096abf64ac7a1fba.tar.bz2
2005-01-05 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/testsuite_hooks.h: (copy_constructor::mark_call): Use __throw_runtime_error. (assignment_operator::mark_call): Same. * testsuite/testsuite_hooks.cc (verify_demangle): Same. (locale_data): Remove, just use runtime_error directly. (environment_variable): Same. (not_found): Same. (run_tests_wrapped_locale): Use __throw_runtime_error. (run_tests_wrapped_env): Same. (semaphore::semaphore): Same. (semaphore::signal): Same. (semaphore::wait): Same. * testsuite/testsuite_abi.h (symbol_error): Remove, use logic_error. * testsuite/testsuite_abi.cc (get_symbol): Use __throw_logic_error. (create_symbols): Use __throw_runtime_error. * src/bitmap_allocator.cc: Use __throw_bad_alloc. From-SVN: r92989
Diffstat (limited to 'libstdc++-v3/src')
-rw-r--r--libstdc++-v3/src/bitmap_allocator.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/src/bitmap_allocator.cc b/libstdc++-v3/src/bitmap_allocator.cc
index 6e774a2..c379664 100644
--- a/libstdc++-v3/src/bitmap_allocator.cc
+++ b/libstdc++-v3/src/bitmap_allocator.cc
@@ -1,6 +1,6 @@
// Bitmap Allocator. Out of line function definitions. -*- C++ -*-
-// Copyright (C) 2004 Free Software Foundation, Inc.
+// Copyright (C) 2004, 2005 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@@ -96,7 +96,7 @@ namespace __gnu_cxx
*__ret = __sz;
return __ret + 1;
}
- __throw_exception_again std::bad_alloc();
+ std::__throw_bad_alloc();
}
else
{