user.cfg.in: Scan tr1_impl/hashtable.
authorBenjamin Kosnik <bkoz@redhat.com>
Fri, 12 Oct 2007 16:11:41 +0000 (16:11 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Fri, 12 Oct 2007 16:11:41 +0000 (16:11 +0000)
2007-10-12  Benjamin Kosnik  <bkoz@redhat.com>

* docs/doxygen/user.cfg.in: Scan tr1_impl/hashtable.
* include/tr1_impl/hashtable: Correct comment.

* include/ext/hash_map: Remove extraneous public markers.
* include/ext/hash_set: Same.

* testsuite/25_algorithms/headers/parallel_algorithm.cc: Move
inside algorithm directory.
* testsuite/25_algorithms/headers/algorithm_parallel_mode.cc: Same.
* testsuite/25_algorithms/headers/parallel_algorithm_mixed1.cc: Same.
* testsuite/25_algorithms/headers/parallel_algorithm_mixed2.cc: Same.
* testsuite/25_algorithms/headers/algorithm/parallel_algorithm.cc:
To this.
* testsuite/25_algorithms/headers/algorithm/
algorithm_parallel_mode.cc: Same.
* testsuite/25_algorithms/headers/algorithm/
parallel_algorithm_mixed1.cc: Same.
* testsuite/25_algorithms/headers/algorithm/
parallel_algorithm_mixed2.cc: Same.

* testsuite/21_strings/basic_string/requirements/
explicit_instantiation/debug.cc: Remove exception text.

* testsuite/23_containers/vector/bool/modifiers/insert/31370.cc:
Fix for debug mode testing.
* testsuite/23_containers/vector/bool/capacity/29134.cc: Same.

From-SVN: r129264

16 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/docs/doxygen/user.cfg.in
libstdc++-v3/include/ext/hash_map
libstdc++-v3/include/ext/hash_set
libstdc++-v3/include/tr1_impl/hashtable
libstdc++-v3/testsuite/21_strings/basic_string/requirements/explicit_instantiation/debug.cc
libstdc++-v3/testsuite/23_containers/vector/bool/capacity/29134.cc
libstdc++-v3/testsuite/23_containers/vector/bool/modifiers/insert/31370.cc
libstdc++-v3/testsuite/25_algorithms/headers/algorithm/algorithm_parallel_mode.cc [new file with mode: 0644]
libstdc++-v3/testsuite/25_algorithms/headers/algorithm/parallel_algorithm.cc [new file with mode: 0644]
libstdc++-v3/testsuite/25_algorithms/headers/algorithm/parallel_algorithm_mixed1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/25_algorithms/headers/algorithm/parallel_algorithm_mixed2.cc [new file with mode: 0644]
libstdc++-v3/testsuite/25_algorithms/headers/algorithm_parallel_mode.cc [deleted file]
libstdc++-v3/testsuite/25_algorithms/headers/parallel_algorithm.cc [deleted file]
libstdc++-v3/testsuite/25_algorithms/headers/parallel_algorithm_mixed1.cc [deleted file]
libstdc++-v3/testsuite/25_algorithms/headers/parallel_algorithm_mixed2.cc [deleted file]

index 6f175345ebc31c8b50187f0c4195bdc31425cd95..e4e6924fd3f375c8bb7a98b54298efb5dccd61ca 100644 (file)
@@ -1,3 +1,32 @@
+2007-10-12  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * docs/doxygen/user.cfg.in: Scan tr1_impl/hashtable.
+       * include/tr1_impl/hashtable: Correct comment.
+
+       * include/ext/hash_map: Remove extraneous public markers.
+       * include/ext/hash_set: Same.
+
+       * testsuite/25_algorithms/headers/parallel_algorithm.cc: Move
+       inside algorithm directory.     
+       * testsuite/25_algorithms/headers/algorithm_parallel_mode.cc: Same.
+       * testsuite/25_algorithms/headers/parallel_algorithm_mixed1.cc: Same.
+       * testsuite/25_algorithms/headers/parallel_algorithm_mixed2.cc: Same.
+       * testsuite/25_algorithms/headers/algorithm/parallel_algorithm.cc:
+       To this.        
+       * testsuite/25_algorithms/headers/algorithm/
+       algorithm_parallel_mode.cc: Same.
+       * testsuite/25_algorithms/headers/algorithm/
+       parallel_algorithm_mixed1.cc: Same.
+       * testsuite/25_algorithms/headers/algorithm/
+       parallel_algorithm_mixed2.cc: Same.
+
+       * testsuite/21_strings/basic_string/requirements/
+       explicit_instantiation/debug.cc: Remove exception text.
+       
+       * testsuite/23_containers/vector/bool/modifiers/insert/31370.cc:
+       Fix for debug mode testing.     
+       * testsuite/23_containers/vector/bool/capacity/29134.cc: Same.
+       
 2007-10-12  Jesper Nilsson  <jesper.nilsson@axis.com>
 
        * testsuite/tr1/5_numerical_facilities/special_functions/
index ab22db0635e81c7d5d5828a6003c0d07379c68d6..6b8cca1c87183b26a9470820cc49fdf3078c0ff4 100644 (file)
@@ -605,6 +605,7 @@ INPUT                  = @srcdir@/docs/doxygen/doxygroups.cc \
                          include/tr1_impl/cwchar \
                          include/tr1_impl/cwctype \
                          include/tr1_impl/functional \
+                         include/tr1_impl/hashtable \
                          include/tr1_impl/random \
                          include/tr1_impl/regex \
                          include/tr1_impl/tuple \
index 183bff556f4ae65a630726db29d5dddc31c00a42..b2d937f277a896672cf492916c9d9040b3ffceff 100644 (file)
@@ -120,7 +120,6 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(__gnu_cxx, _GLIBCXX_EXT_D)
       get_allocator() const
       { return _M_ht.get_allocator(); }
 
-    public:
       hash_map()
       : _M_ht(100, hasher(), key_equal(), allocator_type()) {}
   
@@ -158,7 +157,6 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(__gnu_cxx, _GLIBCXX_EXT_D)
        : _M_ht(__n, __hf, __eql, __a)
         { _M_ht.insert_unique(__f, __l); }
 
-    public:
       size_type
       size() const
       { return _M_ht.size(); }
@@ -196,7 +194,6 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(__gnu_cxx, _GLIBCXX_EXT_D)
       end() const
       { return _M_ht.end(); }
 
-    public:
       pair<iterator, bool>
       insert(const value_type& __obj)
       { return _M_ht.insert_unique(__obj); }
@@ -342,7 +339,6 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(__gnu_cxx, _GLIBCXX_EXT_D)
       get_allocator() const
       { return _M_ht.get_allocator(); }
 
-    public:
       hash_multimap()
       : _M_ht(100, hasher(), key_equal(), allocator_type()) {}
 
@@ -380,7 +376,6 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(__gnu_cxx, _GLIBCXX_EXT_D)
        : _M_ht(__n, __hf, __eql, __a)
         { _M_ht.insert_equal(__f, __l); }
 
-    public:
       size_type
       size() const
       { return _M_ht.size(); }
@@ -418,7 +413,6 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(__gnu_cxx, _GLIBCXX_EXT_D)
       end() const
       { return _M_ht.end(); }
 
-    public:
       iterator
       insert(const value_type& __obj)
       { return _M_ht.insert_equal(__obj); }
@@ -468,7 +462,6 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(__gnu_cxx, _GLIBCXX_EXT_D)
       clear()
       { _M_ht.clear(); }
 
-    public:
       void
       resize(size_type __hint)
       { _M_ht.resize(__hint); }
index b796babd68b1ec3a362b3bf4839674b343111e10..79d605fa9558747efd29213d632f04501af75123 100644 (file)
@@ -122,7 +122,6 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(__gnu_cxx, _GLIBCXX_EXT_D)
       get_allocator() const
       { return _M_ht.get_allocator(); }
 
-    public:
       hash_set()
       : _M_ht(100, hasher(), key_equal(), allocator_type()) {}
 
@@ -160,7 +159,6 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(__gnu_cxx, _GLIBCXX_EXT_D)
        : _M_ht(__n, __hf, __eql, __a)
         { _M_ht.insert_unique(__f, __l); }
 
-    public:
       size_type
       size() const
       { return _M_ht.size(); }
@@ -190,7 +188,6 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(__gnu_cxx, _GLIBCXX_EXT_D)
       end() const
       { return _M_ht.end(); }
 
-    public:
       pair<iterator, bool>
       insert(const value_type& __obj)
       {
@@ -239,7 +236,6 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(__gnu_cxx, _GLIBCXX_EXT_D)
       clear()
       { _M_ht.clear(); }
 
-    public:
       void
       resize(size_type __hint)
       { _M_ht.resize(__hint); }
@@ -327,7 +323,6 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(__gnu_cxx, _GLIBCXX_EXT_D)
       get_allocator() const
       { return _M_ht.get_allocator(); }
 
-    public:
       hash_multiset()
       : _M_ht(100, hasher(), key_equal(), allocator_type()) {}
 
@@ -365,7 +360,6 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(__gnu_cxx, _GLIBCXX_EXT_D)
        : _M_ht(__n, __hf, __eql, __a)
         { _M_ht.insert_equal(__f, __l); }
 
-    public:
       size_type
       size() const
       { return _M_ht.size(); }
@@ -395,7 +389,6 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(__gnu_cxx, _GLIBCXX_EXT_D)
       end() const
       { return _M_ht.end(); }
 
-    public:
       iterator
       insert(const value_type& __obj)
       { return _M_ht.insert_equal(__obj); }
@@ -437,7 +430,6 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(__gnu_cxx, _GLIBCXX_EXT_D)
       clear()
       { _M_ht.clear(); }
 
-    public:
       void
       resize(size_type __hint)
       { _M_ht.resize(__hint); }
index acdeb6675667a9469e9f033da4396a514f999038..0255e1a7cb3fe0ed2609b7a9a1e06bfc96820b52 100644 (file)
@@ -37,7 +37,7 @@
 // std::tr1::unordered_multiset, and std::tr1::unordered_multimap.
 // hashtable has many template parameters, partly to accommodate
 // the differences between those four classes and partly to 
-// accommodate policy choices that go beyond what TR1 calls for.
+// accommodate policy choices that go beyond TR1 specifications.
 
 // Class template hashtable attempts to encapsulate all reasonable
 // variation among hash tables that use chaining.  It does not handle
index 8b021755786b734ccf39c51fb9f0a72621359d06..8a8951f2db20232538e3b0f801d18a67aced29f4 100644 (file)
 // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
 // USA.
 
-// As a special exception, you may use this file as part of a free software
-// library without restriction.  Specifically, if other files instantiate
-// templates or use macros or inline functions from this file, or you compile
-// this file and link it with other files to produce an executable, this
-// file does not by itself cause the resulting executable to be covered by
-// the GNU General Public License.  This exception does not however
-// invalidate any other reasons why the executable file might be covered by
-// the GNU General Public License.
-
 // This file tests explicit instantiation of basic_string
 
 #include <debug/string>
index 7ebec611d7269e024e745f8bbe4ad7187d48a255..3724768d4a6f1ee0166f82703c05135ca8b47754 100644 (file)
@@ -27,13 +27,20 @@ void test01()
 {
   bool test __attribute__((unused)) = true;
 
-  std::vector<bool> vb;
+  using std::vector;
+  using std::numeric_limits;
+
+#ifndef _GLIBCXX_DEBUG
+  using std::_S_word_bit;
+#else
+  using std::_GLIBCXX_STD_D::_S_word_bit;
+#endif
 
   // Actually, vector<bool> is special, see libstdc++/31370.
-  typedef std::vector<bool>::difference_type difference_type;
+  vector<bool> vb;
+  typedef vector<bool>::difference_type difference_type;
   VERIFY( vb.max_size()
-         == (std::numeric_limits<difference_type>::max()
-             - int(std::_S_word_bit) + 1) );
+         == (numeric_limits<difference_type>::max() - int(_S_word_bit) + 1) );
 }
 
 int main()
index 0c4d0a8c1bd0b8c7a76274a41535e245c8877ed5..fbbe7b4f586098c5ede1aad1943a7a77d06324b4 100644 (file)
 #include <stdexcept>
 #include <testsuite_hooks.h>
 
+#ifndef _GLIBCXX_DEBUG
+  using std::_S_word_bit;
+#else
+  using std::_GLIBCXX_STD_D::_S_word_bit;
+#endif
+
 inline void
 check_cap_ge_size(const std::vector<bool>& x)
 {
@@ -62,7 +68,7 @@ void test01()
     {
       std::vector<bool> x;
       x.resize(x.max_size() / 2 + 1, false); 
-      for(int i = 0; i < std::_S_word_bit; ++i)
+      for(int i = 0; i < _S_word_bit; ++i)
        x.push_back(false);
       check_cap_ge_size(x);
     }
@@ -75,7 +81,7 @@ void test01()
     {
       std::vector<bool> x;
       x.resize(x.max_size() / 2 + 1, false); 
-      x.insert(x.end(), std::_S_word_bit, false);
+      x.insert(x.end(), _S_word_bit, false);
       check_cap_ge_size(x);
     }
   catch(std::bad_alloc&)
@@ -87,7 +93,7 @@ void test01()
     {
       std::vector<bool> x;
       x.resize(x.max_size() / 2 + 1, false); 
-      std::vector<bool> y(std::_S_word_bit, false);
+      std::vector<bool> y(_S_word_bit, false);
       x.insert(x.end(), y.begin(), y.end());
       check_cap_ge_size(x);
     }
@@ -101,8 +107,8 @@ void test01()
   try
     {
       std::vector<bool> x;
-      x.resize(x.max_size() - std::_S_word_bit, false); 
-      for(int i = 0; i < std::_S_word_bit; ++i)
+      x.resize(x.max_size() - _S_word_bit, false); 
+      for(int i = 0; i < _S_word_bit; ++i)
        x.push_back(false);
       check_cap_ge_size(x);
     }
@@ -114,8 +120,8 @@ void test01()
   try
     {
       std::vector<bool> x;
-      x.resize(x.max_size() - std::_S_word_bit, false); 
-      x.insert(x.end(), std::_S_word_bit, false);
+      x.resize(x.max_size() - _S_word_bit, false); 
+      x.insert(x.end(), _S_word_bit, false);
       check_cap_ge_size(x);
     }
   catch(std::bad_alloc&)
@@ -126,8 +132,8 @@ void test01()
   try
     {
       std::vector<bool> x;
-      x.resize(x.max_size() - std::_S_word_bit, false); 
-      std::vector<bool> y(std::_S_word_bit, false);
+      x.resize(x.max_size() - _S_word_bit, false); 
+      std::vector<bool> y(_S_word_bit, false);
       x.insert(x.end(), y.begin(), y.end());
       check_cap_ge_size(x);
     }
@@ -141,8 +147,8 @@ void test01()
   try
     {
       std::vector<bool> x;
-      x.resize(x.max_size() - std::_S_word_bit, false); 
-      for(int i = 0; i < std::_S_word_bit + 1; ++i)
+      x.resize(x.max_size() - _S_word_bit, false); 
+      for(int i = 0; i < _S_word_bit + 1; ++i)
        x.push_back(false);
       ++myexit;
     }
@@ -156,8 +162,8 @@ void test01()
   try
     {
       std::vector<bool> x;
-      x.resize(x.max_size() - std::_S_word_bit, false); 
-      x.insert(x.end(), std::_S_word_bit + 1, false);
+      x.resize(x.max_size() - _S_word_bit, false); 
+      x.insert(x.end(), _S_word_bit + 1, false);
       ++myexit;
     }
   catch(std::bad_alloc)
@@ -170,8 +176,8 @@ void test01()
   try
     {
       std::vector<bool> x;
-      x.resize(x.max_size() - std::_S_word_bit, false); 
-      std::vector<bool> y(std::_S_word_bit + 1, false);
+      x.resize(x.max_size() - _S_word_bit, false); 
+      std::vector<bool> y(_S_word_bit + 1, false);
       x.insert(x.end(), y.begin(), y.end());
       ++myexit;
     }
diff --git a/libstdc++-v3/testsuite/25_algorithms/headers/algorithm/algorithm_parallel_mode.cc b/libstdc++-v3/testsuite/25_algorithms/headers/algorithm/algorithm_parallel_mode.cc
new file mode 100644 (file)
index 0000000..c2e56c2
--- /dev/null
@@ -0,0 +1,23 @@
+// { dg-do compile }
+// { dg-require-parallel-mode "" }
+// { dg-options "-D_GLIBCXX_PARALLEL -fopenmp" { target *-*-* } }
+
+// Copyright (C) 2007 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
+// terms of the GNU General Public License as published by the
+// Free Software Foundation; either version 2, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License along
+// with this library; see the file COPYING.  If not, write to the Free
+// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+// USA.
+
+#include <algorithm>
diff --git a/libstdc++-v3/testsuite/25_algorithms/headers/algorithm/parallel_algorithm.cc b/libstdc++-v3/testsuite/25_algorithms/headers/algorithm/parallel_algorithm.cc
new file mode 100644 (file)
index 0000000..90e0279
--- /dev/null
@@ -0,0 +1,23 @@
+// { dg-do compile }
+// { dg-require-parallel-mode "" }
+// { dg-options "-fopenmp" { target *-*-* } }
+
+// Copyright (C) 2007 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
+// terms of the GNU General Public License as published by the
+// Free Software Foundation; either version 2, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License along
+// with this library; see the file COPYING.  If not, write to the Free
+// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+// USA.
+
+#include <parallel/algorithm>
diff --git a/libstdc++-v3/testsuite/25_algorithms/headers/algorithm/parallel_algorithm_mixed1.cc b/libstdc++-v3/testsuite/25_algorithms/headers/algorithm/parallel_algorithm_mixed1.cc
new file mode 100644 (file)
index 0000000..c6c4ce2
--- /dev/null
@@ -0,0 +1,37 @@
+// { dg-do compile }
+// { dg-require-parallel-mode "" }
+// { dg-options "-fopenmp" { target *-*-* } }
+
+// Copyright (C) 2007 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
+// terms of the GNU General Public License as published by the
+// Free Software Foundation; either version 2, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License along
+// with this library; see the file COPYING.  If not, write to the Free
+// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+// USA.
+
+#include <parallel/algorithm>
+#include <vector>
+#include <algorithm>
+
+void test()
+{
+  typedef unsigned short       value_type;
+  typedef std::vector<value_type> vector_type;
+  
+  const value_type c(0);
+
+  vector_type v(10);
+  std::find(v.begin(), v.end(), c);
+  __gnu_parallel::find(v.begin(), v.end(), c);
+}
diff --git a/libstdc++-v3/testsuite/25_algorithms/headers/algorithm/parallel_algorithm_mixed2.cc b/libstdc++-v3/testsuite/25_algorithms/headers/algorithm/parallel_algorithm_mixed2.cc
new file mode 100644 (file)
index 0000000..94794d4
--- /dev/null
@@ -0,0 +1,42 @@
+// { dg-do compile }
+// { dg-require-parallel-mode "" }
+// { dg-options "-fopenmp" { target *-*-* } }
+
+// Copyright (C) 2007 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
+// terms of the GNU General Public License as published by the
+// Free Software Foundation; either version 2, or (at your option)
+// any later version.
+
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License along
+// with this library; see the file COPYING.  If not, write to the Free
+// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+// USA.
+
+// Make sure to test without _GLIBCXX_PARALLEL
+#ifdef _GLIBCXX_PARALLEL 
+# undef _GLIBCXX_PARALLEL 
+#endif
+
+#include <parallel/algorithm>
+#include <vector>
+#include <algorithm>
+
+void test()
+{
+  typedef unsigned short       value_type;
+  typedef std::vector<value_type> vector_type;
+  
+  const value_type c(0);
+
+  vector_type v(10);
+  std::find(v.begin(), v.end(), c);
+  __gnu_parallel::find(v.begin(), v.end(), c);
+}
diff --git a/libstdc++-v3/testsuite/25_algorithms/headers/algorithm_parallel_mode.cc b/libstdc++-v3/testsuite/25_algorithms/headers/algorithm_parallel_mode.cc
deleted file mode 100644 (file)
index c2e56c2..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-// { dg-do compile }
-// { dg-require-parallel-mode "" }
-// { dg-options "-D_GLIBCXX_PARALLEL -fopenmp" { target *-*-* } }
-
-// Copyright (C) 2007 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
-// terms of the GNU General Public License as published by the
-// Free Software Foundation; either version 2, or (at your option)
-// any later version.
-
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-// GNU General Public License for more details.
-
-// You should have received a copy of the GNU General Public License along
-// with this library; see the file COPYING.  If not, write to the Free
-// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
-// USA.
-
-#include <algorithm>
diff --git a/libstdc++-v3/testsuite/25_algorithms/headers/parallel_algorithm.cc b/libstdc++-v3/testsuite/25_algorithms/headers/parallel_algorithm.cc
deleted file mode 100644 (file)
index 90e0279..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-// { dg-do compile }
-// { dg-require-parallel-mode "" }
-// { dg-options "-fopenmp" { target *-*-* } }
-
-// Copyright (C) 2007 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
-// terms of the GNU General Public License as published by the
-// Free Software Foundation; either version 2, or (at your option)
-// any later version.
-
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-// GNU General Public License for more details.
-
-// You should have received a copy of the GNU General Public License along
-// with this library; see the file COPYING.  If not, write to the Free
-// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
-// USA.
-
-#include <parallel/algorithm>
diff --git a/libstdc++-v3/testsuite/25_algorithms/headers/parallel_algorithm_mixed1.cc b/libstdc++-v3/testsuite/25_algorithms/headers/parallel_algorithm_mixed1.cc
deleted file mode 100644 (file)
index c6c4ce2..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-// { dg-do compile }
-// { dg-require-parallel-mode "" }
-// { dg-options "-fopenmp" { target *-*-* } }
-
-// Copyright (C) 2007 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
-// terms of the GNU General Public License as published by the
-// Free Software Foundation; either version 2, or (at your option)
-// any later version.
-
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-// GNU General Public License for more details.
-
-// You should have received a copy of the GNU General Public License along
-// with this library; see the file COPYING.  If not, write to the Free
-// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
-// USA.
-
-#include <parallel/algorithm>
-#include <vector>
-#include <algorithm>
-
-void test()
-{
-  typedef unsigned short       value_type;
-  typedef std::vector<value_type> vector_type;
-  
-  const value_type c(0);
-
-  vector_type v(10);
-  std::find(v.begin(), v.end(), c);
-  __gnu_parallel::find(v.begin(), v.end(), c);
-}
diff --git a/libstdc++-v3/testsuite/25_algorithms/headers/parallel_algorithm_mixed2.cc b/libstdc++-v3/testsuite/25_algorithms/headers/parallel_algorithm_mixed2.cc
deleted file mode 100644 (file)
index 94794d4..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-// { dg-do compile }
-// { dg-require-parallel-mode "" }
-// { dg-options "-fopenmp" { target *-*-* } }
-
-// Copyright (C) 2007 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
-// terms of the GNU General Public License as published by the
-// Free Software Foundation; either version 2, or (at your option)
-// any later version.
-
-// This library is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-// GNU General Public License for more details.
-
-// You should have received a copy of the GNU General Public License along
-// with this library; see the file COPYING.  If not, write to the Free
-// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
-// USA.
-
-// Make sure to test without _GLIBCXX_PARALLEL
-#ifdef _GLIBCXX_PARALLEL 
-# undef _GLIBCXX_PARALLEL 
-#endif
-
-#include <parallel/algorithm>
-#include <vector>
-#include <algorithm>
-
-void test()
-{
-  typedef unsigned short       value_type;
-  typedef std::vector<value_type> vector_type;
-  
-  const value_type c(0);
-
-  vector_type v(10);
-  std::find(v.begin(), v.end(), c);
-  __gnu_parallel::find(v.begin(), v.end(), c);
-}