diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2005-11-22 06:54:08 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2005-11-22 06:54:08 +0000 |
commit | cddfb1c7ac9cb2f69cc82839a0163af3e771a68d (patch) | |
tree | 3b23806d48c5499ec0ea11b68e5bc9006c2387e6 /libstdc++-v3/testsuite/ext/mt_allocator/22309_thread.cc | |
parent | ebb109add82e17c08e24de72bf1735ebbbc5081c (diff) | |
download | gcc-cddfb1c7ac9cb2f69cc82839a0163af3e771a68d.tar.gz |
re PR libstdc++/23591 (exceptions in plugins in threads cause segmentation violation by leaving bad exit handler for the pthread)
2005-11-21 Benjamin Kosnik <bkoz@redhat.com>
Ulrich Drepper <drepper@redhat.com>
PR libstdc++/23591
* scripts/create_testsuite_files: Support for "C" test files.
* testsuite/lib/libstdc++.exp: Same.
* testsuite/libstdc++-dg/normal.exp: Same.
* testsuite/ext/mt_allocator/22309_thread.cc: Update names.
* testsuite/19_diagnostics/23591_thread-1.c: New.
* testsuite/testsuite_shared.cc: Add tests, rename existing functions.
* libsupc++/eh_globals.cc: Make global thread local if possible.
* configure.ac: Use GCC_CHECK_TLS.
* acinclude.m4: Include tls.m4.
* configure: Regenerate.
* config.h.in: Same.
Co-Authored-By: Ulrich Drepper <drepper@redhat.com>
From-SVN: r107350
Diffstat (limited to 'libstdc++-v3/testsuite/ext/mt_allocator/22309_thread.cc')
-rw-r--r-- | libstdc++-v3/testsuite/ext/mt_allocator/22309_thread.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/ext/mt_allocator/22309_thread.cc b/libstdc++-v3/testsuite/ext/mt_allocator/22309_thread.cc index f2243657a5d..1df94b7c666 100644 --- a/libstdc++-v3/testsuite/ext/mt_allocator/22309_thread.cc +++ b/libstdc++-v3/testsuite/ext/mt_allocator/22309_thread.cc @@ -50,7 +50,7 @@ check_dlsym(void*& h) typedef void (*function_type) (void); function_type fn; - fn = reinterpret_cast<function_type>(dlsym(h, "foo")); + fn = reinterpret_cast<function_type>(dlsym(h, "try_allocation")); try { |