diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2004-10-06 22:12:34 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2004-10-06 22:12:34 +0000 |
commit | e3f78d9b1161f68289db5b09304598bb0ee7d441 (patch) | |
tree | 09d00f21fa64925e280dcf8b8337f681a42ec84f /libstdc++-v3/testsuite/ext/mt_allocator | |
parent | 564060c32aba5494ae02d37a7f005798bb646011 (diff) | |
download | gcc-e3f78d9b1161f68289db5b09304598bb0ee7d441.tar.gz |
acinclude.m4 (GLIBCXX_ENABLE_THREADS): Set enable_thread.
2004-10-06 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCXX_ENABLE_THREADS): Set enable_thread.
(GLIBCXX_CONFIGURE_TESTSUITE): Use it.
* configure: Regenerated.
* testsuite/Makefile.am (CLEANFILES): Add TEST for
check-performance executables.
(stamp_thread): New.
(all-local): Use it.
* testsuite/Makefile.in: Regenerate.
* scripts/create_testsuite_files: Filter thread tests.
* testsuite/thread/pthread1.cc: Remove macro conditionals: this
file will only be run by thread enabled configurations.
* testsuite/thread/pthread7-rope.cc: Same, add rope_type typedef.
* testsuite/thread/pthread6.cc: Same.
* testsuite/thread/pthread5.cc: Same.
* testsuite/thread/pthread4.cc: Same.
* testsuite/thread/pthread3.cc: Same.
* testsuite/thread/pthread2.cc: Same.
* testsuite/ext/mt_allocator/instantiate.cc: Add in __GTHREADS guard.
* testsuite/ext/mt_allocator/deallocate_global-1.cc: Move to...
* testsuite/ext/mt_allocator/deallocate_global_thread-1.cc: ...here.
* testsuite/ext/mt_allocator/deallocate_global-3.cc: Move to...
* testsuite/ext/mt_allocator/deallocate_global_thread-3.cc: ...here.
* testsuite/ext/mt_allocator/deallocate_local-1.cc: Move to...
* testsuite/ext/mt_allocator/deallocate_local_thread-1.cc: ...here.
* testsuite/ext/mt_allocator/deallocate_local-3.cc: Move to...
* testsuite/ext/mt_allocator/deallocate_local_thread-3.cc: ...here.
From-SVN: r88628
Diffstat (limited to 'libstdc++-v3/testsuite/ext/mt_allocator')
-rw-r--r-- | libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global_thread-1.cc (renamed from libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global-1.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global_thread-3.cc (renamed from libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global-3.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local_thread-1.cc (renamed from libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local-1.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local_thread-3.cc (renamed from libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local-3.cc) | 0 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/ext/mt_allocator/instantiate.cc | 6 |
5 files changed, 4 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global-1.cc b/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global_thread-1.cc index 1f0ac281af7..1f0ac281af7 100644 --- a/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global-1.cc +++ b/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global_thread-1.cc diff --git a/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global-3.cc b/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global_thread-3.cc index 10efea66ec6..10efea66ec6 100644 --- a/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global-3.cc +++ b/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global_thread-3.cc diff --git a/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local-1.cc b/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local_thread-1.cc index 5664d3caff8..5664d3caff8 100644 --- a/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local-1.cc +++ b/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local_thread-1.cc diff --git a/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local-3.cc b/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local_thread-3.cc index 973f758d98d..973f758d98d 100644 --- a/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local-3.cc +++ b/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_local_thread-3.cc diff --git a/libstdc++-v3/testsuite/ext/mt_allocator/instantiate.cc b/libstdc++-v3/testsuite/ext/mt_allocator/instantiate.cc index 579b8bcf18d..4fa49aa09cc 100644 --- a/libstdc++-v3/testsuite/ext/mt_allocator/instantiate.cc +++ b/libstdc++-v3/testsuite/ext/mt_allocator/instantiate.cc @@ -27,7 +27,9 @@ using namespace __gnu_cxx; template class __mt_alloc<int>; -template class __mt_alloc<short, __common_pool_policy<true> >; template class __mt_alloc<short, __common_pool_policy<false> >; -template class __mt_alloc<short, __per_type_pool_policy<short, true> >; template class __mt_alloc<short, __per_type_pool_policy<short, false> >; +#ifdef __GTHREADS +template class __mt_alloc<short, __common_pool_policy<true> >; +template class __mt_alloc<short, __per_type_pool_policy<short, true> >; +#endif |