std_c++0x_neg.cc: Add -std=c++98.
authorJason Merrill <jason@redhat.com>
Sat, 9 May 2015 04:50:30 +0000 (00:50 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 9 May 2015 04:50:30 +0000 (00:50 -0400)
* testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc: Add -std=c++98.
* testsuite/20_util/auto_ptr/1.cc: Add -std=c++98.
* testsuite/20_util/auto_ptr/2.cc: Add -std=c++98.
* testsuite/20_util/auto_ptr/3.cc: Add -std=c++98.
* testsuite/20_util/auto_ptr/4.cc: Add -std=c++98.
* testsuite/20_util/auto_ptr/5.cc: Add -std=c++98.
* testsuite/20_util/auto_ptr/6.cc: Add -std=c++98.
* testsuite/20_util/auto_ptr/7.cc: Add -std=c++98.
* testsuite/20_util/auto_ptr/3946.cc: Add -std=c++98.
* testsuite/20_util/auto_ptr/assign_neg.cc: Add -std=c++98.
* testsuite/20_util/auto_ptr/requirements/explicit_instantiation/1.cc: Likewise.
* testsuite/20_util/headers/functional/synopsis.cc: Add -Wno-deprecated.
* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Adjust expected errors.
* testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc: Likewise.
* testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc: Likewise.
* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Likewise.
* testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Likewise.
* testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc: Likewise.
* testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc: Likewise.
* testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Likewise.
* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Likewise.
* testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc: Likewise.
* testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc: Likewise.
* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:  Likewise.
* testsuite/ext/array_allocator/1.cc: Add -Wno-deprecated.
* testsuite/ext/array_allocator/2.cc: Add -Wno-deprecated.
* testsuite/ext/array_allocator/26875.cc: Add -Wno-deprecated.
* testsuite/ext/array_allocator/3.cc: Add -Wno-deprecated.
* testsuite/ext/array_allocator/check_allocate_max_size.cc: Add -Wno-deprecated.
* testsuite/ext/array_allocator/check_deallocate_null.cc: Add -Wno-deprecated.
* testsuite/ext/array_allocator/check_delete.cc: Add -Wno-deprecated.
* testsuite/ext/array_allocator/check_new.cc: Add -Wno-deprecated.
* testsuite/ext/profile/mutex_extensions_neg.cc: Prune follow-on error.
* testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr.cc: Add -std=c++98.
* testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_neg.cc: Add -std=c++98.
* testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_rvalue_neg.cc: Add -std=c++98.
* testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Add -std=c++98 -fno-show-column.
* testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr.cc: Add -std=c++98.
* testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr_neg.cc: Add -std=c++98.
* testsuite/tr1/6_containers/utility/pair.cc: Add -std=c++98.
* testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc: Add -std=c++98.

From-SVN: r222965

42 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc
libstdc++-v3/testsuite/20_util/auto_ptr/1.cc
libstdc++-v3/testsuite/20_util/auto_ptr/2.cc
libstdc++-v3/testsuite/20_util/auto_ptr/3.cc
libstdc++-v3/testsuite/20_util/auto_ptr/3946.cc
libstdc++-v3/testsuite/20_util/auto_ptr/4.cc
libstdc++-v3/testsuite/20_util/auto_ptr/5.cc
libstdc++-v3/testsuite/20_util/auto_ptr/6.cc
libstdc++-v3/testsuite/20_util/auto_ptr/7.cc
libstdc++-v3/testsuite/20_util/auto_ptr/assign_neg.cc
libstdc++-v3/testsuite/20_util/auto_ptr/requirements/explicit_instantiation/1.cc
libstdc++-v3/testsuite/20_util/headers/functional/synopsis.cc
libstdc++-v3/testsuite/23_containers/deque/requirements/dr438/assign_neg.cc
libstdc++-v3/testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc
libstdc++-v3/testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc
libstdc++-v3/testsuite/23_containers/deque/requirements/dr438/insert_neg.cc
libstdc++-v3/testsuite/23_containers/list/requirements/dr438/assign_neg.cc
libstdc++-v3/testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc
libstdc++-v3/testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc
libstdc++-v3/testsuite/23_containers/list/requirements/dr438/insert_neg.cc
libstdc++-v3/testsuite/23_containers/vector/requirements/dr438/assign_neg.cc
libstdc++-v3/testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc
libstdc++-v3/testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc
libstdc++-v3/testsuite/23_containers/vector/requirements/dr438/insert_neg.cc
libstdc++-v3/testsuite/ext/array_allocator/1.cc
libstdc++-v3/testsuite/ext/array_allocator/2.cc
libstdc++-v3/testsuite/ext/array_allocator/26875.cc
libstdc++-v3/testsuite/ext/array_allocator/3.cc
libstdc++-v3/testsuite/ext/array_allocator/check_allocate_max_size.cc
libstdc++-v3/testsuite/ext/array_allocator/check_deallocate_null.cc
libstdc++-v3/testsuite/ext/array_allocator/check_delete.cc
libstdc++-v3/testsuite/ext/array_allocator/check_new.cc
libstdc++-v3/testsuite/ext/profile/mutex_extensions_neg.cc
libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr.cc
libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_neg.cc
libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_rvalue_neg.cc
libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc
libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr.cc
libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr_neg.cc
libstdc++-v3/testsuite/tr1/6_containers/utility/pair.cc
libstdc++-v3/testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc

index 81c717e2f25059871e7da3fe3f3178e237d12167..915df753ef08dadc0654c7224e12b8944e245b26 100644 (file)
@@ -1,5 +1,47 @@
 2015-05-08  Jason Merrill  <jason@redhat.com>
 
+       * testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc: Add -std=c++98.
+       * testsuite/20_util/auto_ptr/1.cc: Add -std=c++98.
+       * testsuite/20_util/auto_ptr/2.cc: Add -std=c++98.
+       * testsuite/20_util/auto_ptr/3.cc: Add -std=c++98.
+       * testsuite/20_util/auto_ptr/4.cc: Add -std=c++98.
+       * testsuite/20_util/auto_ptr/5.cc: Add -std=c++98.
+       * testsuite/20_util/auto_ptr/6.cc: Add -std=c++98.
+       * testsuite/20_util/auto_ptr/7.cc: Add -std=c++98.
+       * testsuite/20_util/auto_ptr/3946.cc: Add -std=c++98.
+       * testsuite/20_util/auto_ptr/assign_neg.cc: Add -std=c++98.
+       * testsuite/20_util/auto_ptr/requirements/explicit_instantiation/1.cc: Likewise.
+       * testsuite/20_util/headers/functional/synopsis.cc: Add -Wno-deprecated.
+       * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Adjust expected errors.
+       * testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc: Likewise.
+       * testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc: Likewise.
+       * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Likewise.
+       * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Likewise.
+       * testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc: Likewise.
+       * testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc: Likewise.
+       * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Likewise.
+       * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Likewise.
+       * testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc: Likewise.
+       * testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc: Likewise.
+       * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:  Likewise.
+       * testsuite/ext/array_allocator/1.cc: Add -Wno-deprecated.
+       * testsuite/ext/array_allocator/2.cc: Add -Wno-deprecated.
+       * testsuite/ext/array_allocator/26875.cc: Add -Wno-deprecated.
+       * testsuite/ext/array_allocator/3.cc: Add -Wno-deprecated.
+       * testsuite/ext/array_allocator/check_allocate_max_size.cc: Add -Wno-deprecated.
+       * testsuite/ext/array_allocator/check_deallocate_null.cc: Add -Wno-deprecated.
+       * testsuite/ext/array_allocator/check_delete.cc: Add -Wno-deprecated.
+       * testsuite/ext/array_allocator/check_new.cc: Add -Wno-deprecated.
+       * testsuite/ext/profile/mutex_extensions_neg.cc: Prune follow-on error.
+       * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr.cc: Add -std=c++98.
+       * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_neg.cc: Add -std=c++98.
+       * testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_rvalue_neg.cc: Add -std=c++98.
+       * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Add -std=c++98 -fno-show-column.
+       * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr.cc: Add -std=c++98.
+       * testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr_neg.cc: Add -std=c++98.
+       * testsuite/tr1/6_containers/utility/pair.cc: Add -std=c++98.
+       * testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc: Add -std=c++98.
+
        * src/c++98/Makefile.am (AM_CXXFLAGS): Add -std=gnu++98.
        * src/c++98/Makefile.in: Regenerate.
        * src/Makefile.am (AM_CXXFLAGS): Add -std=gnu++98.
index e7982ce9ef91c2bdb20f8ce113bcb4cb674306d1..082a505ec998caffa524e30b2140f4b898e9be02 100644 (file)
@@ -1,4 +1,5 @@
 // { dg-do compile }
+// { dg-options "-std=gnu++98" }
 
 // Copyright (C) 2007-2015 Free Software Foundation, Inc.
 //
index df52d10fe010070999e4c86ff264b1035459f476..eb88a2dfe87a3867889c6c6c0839195958765c54 100644 (file)
@@ -17,6 +17,8 @@
 
 // 20.4.5 Template class auto_ptr [lib.auto.ptr]
 
+// { dg-options "-std=c++98" }
+
 #include <memory>
 #include <testsuite_hooks.h>
 
index fb478e427ccef259de78bac0b7f6d48a423d3184..521bf79e77185c0b101c0966fd597d59e06c01ab 100644 (file)
@@ -17,6 +17,8 @@
 
 // 20.4.5 Template class auto_ptr [lib.auto.ptr]
 
+// { dg-options "-std=c++98" }
+
 #include <memory>
 #include <testsuite_hooks.h>
 
index 25c5602d0573af90f307a9648f5ca8ae5fd326b5..a37e2201044128298c7818cc0f3d8b6064a5ea96 100644 (file)
@@ -17,6 +17,8 @@
 
 // 20.4.5 Template class auto_ptr [lib.auto.ptr]
 
+// { dg-options "-std=c++98" }
+
 #include <memory>
 #include <testsuite_hooks.h>
 
index a5ab1fcc75c3f4c262477ee4ce2699079d5ba8ca..0072a6bfc159f76bc5e2bb2cd4ac402357a921ef 100644 (file)
@@ -17,6 +17,8 @@
 
 // 20.4.5 Template class auto_ptr [lib.auto.ptr]
 
+// { dg-options "-std=c++98" }
+
 #include <memory>
 #include <testsuite_hooks.h>
 
index 88d0cac2b8c0d9a1506bf74b2edde88733609ddf..5b4469c256896467eb18713ffb31a3f4d819111e 100644 (file)
@@ -17,6 +17,8 @@
 
 // 20.4.5 Template class auto_ptr [lib.auto.ptr]
 
+// { dg-options "-std=c++98" }
+
 #include <memory>
 #include <testsuite_hooks.h>
 
index a27a6ef899c43eadfcdd7fa3e6ef45c53934d228..45a1805257507f41b06ca9ac29a21709a5666046 100644 (file)
@@ -17,6 +17,8 @@
 
 // 20.4.5 Template class auto_ptr [lib.auto.ptr]
 
+// { dg-options "-std=c++98" }
+
 #include <memory>
 #include <testsuite_hooks.h>
 
index 68379b12397c79f78547bedb2a606e1488f353f6..6990aaa91129c96126f6bce7b01c3cbc0bc29a92 100644 (file)
@@ -17,6 +17,8 @@
 
 // 20.4.5 Template class auto_ptr [lib.auto.ptr]
 
+// { dg-options "-std=c++98" }
+
 #include <memory>
 #include <testsuite_hooks.h>
 
index 1fff811451f7d2dcbbf0df6bfeebed52881a8371..ac19a02228971b0f56e684d1ecd1544f4ece638c 100644 (file)
@@ -17,6 +17,8 @@
 
 // 20.4.5 Template class auto_ptr [lib.auto.ptr]
 
+// { dg-options "-std=c++98" }
+
 #include <memory>
 #include <testsuite_hooks.h>
 
index 5d62c62b70e4083784bf2707ee0ff33d218773cf..fca8c6fc9dd9d296c827c6dc7e7302f152757988 100644 (file)
@@ -19,6 +19,8 @@
 
 // 20.4.5 Template class auto_ptr negative tests [lib.auto.ptr]
 
+// { dg-options "-std=c++98" }
+
 #include <memory>
 #include <testsuite_hooks.h>
 
index b99426299c6b6dc52568bd90760aef4dc5fe61d0..e9e5775d59d5d2fdef3cc0cab07ee844ea7deba3 100644 (file)
@@ -20,6 +20,8 @@
 
 // This file tests explicit instantiation of library containers.
 
+// { dg-options "-std=c++98" }
+
 #include <memory>
 
 template class std::auto_ptr<int>;
index 7e76ccbc20c3857a1aa7a4b2c1d16e54f8e720f8..03d37a639abec9cb166f13c5dc91c4ac78288e94 100644 (file)
@@ -17,6 +17,8 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
+// { dg-options "-Wno-deprecated" }
+
 #include <functional>
 
 namespace std {
index 8604250696c712e72e06969f6072b1f52d2d20a1..d9bc2ace552adb8dcc6e78d8b6254f38b2ca624d 100644 (file)
@@ -18,7 +18,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-do compile }
-// { dg-error "no matching" "" { target *-*-* } 1881 }
+// { dg-prune-output 1881 }
 
 #include <deque>
 
@@ -30,5 +30,5 @@ struct A
 void f()
 {
   std::deque<A> d;
-  d.assign(10, 1);
+  d.assign(10, 1);             // { dg-error "no match|here" }
 }
index e8fadaabf4bb5a64b60970ad68bf6d80f4f19479..b4eb75edde1fd6bdba01ad8ae4662d2f99a549d3 100644 (file)
 // <http://www.gnu.org/licenses/>.
 
 // { dg-do compile }
-// { dg-error "no matching" "" { target *-*-* } 1814 }
+// { dg-prune-output 1814 }
 
 #include <deque>
 
 void f()
 {
-  std::deque<std::deque<int> > d(10, 1);
+  std::deque<std::deque<int> > d(10, 1); // { dg-error "here|no match" }
 }
index 1444343dfaa00506324e03f67989b20a9f1460fe..90ce50a1fee507b2dcef2b47042705cd62bb63bf 100644 (file)
 // <http://www.gnu.org/licenses/>.
 
 // { dg-do compile }
-// { dg-error "no matching" "" { target *-*-* } 1814 }
+// { dg-prune-output 1814 }
 
 #include <deque>
 #include <utility>
 
 void f()
 {
-  std::deque<std::deque<std::pair<char, char> > > d('a', 'b');
+  std::deque<std::deque<std::pair<char, char> > > d('a', 'b'); // { dg-error "here|no match" }
 }
index 0310cf247441dad284b09ca5caab0801fed28dfc..5ff969580a978d90113019bb586fba014d53293f 100644 (file)
@@ -18,7 +18,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-do compile }
-// { dg-error "no matching" "" { target *-*-* } 1965 }
+// { dg-prune-output 1965 }
 
 #include <deque>
 
@@ -30,5 +30,5 @@ struct A
 void f()
 {
   std::deque<A> d;
-  d.insert(d.begin(), 10, 1);
+  d.insert(d.begin(), 10, 1); // { dg-error "here|no match" }
 }
index 4bb80d234ed7cb5950c21eee29abdd4059f1c5c4..0a60dd78e6d43016563227529944e649de2fd679 100644 (file)
@@ -18,7 +18,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-do compile }
-// { dg-error "no matching" "" { target *-*-* } 1730 }
+// { dg-prune-output 1730 }
 
 #include <list>
 
@@ -31,5 +31,5 @@ void f()
 {
   typedef std::list<A> list_type;
   list_type l;
-  l.assign(10, 1);
+  l.assign(10, 1);             // { dg-error "here|no match" }
 }
index 5e848a7b585f1812451a2c8143fc25dd93c4a110..8de8b1ad0adf49432ebbb249f5e020f5354c62f8 100644 (file)
 // <http://www.gnu.org/licenses/>.
 
 // { dg-do compile }
-// { dg-error "no matching" "" { target *-*-* } 1682 }
+// { dg-prune-output 1682 }
 
 #include <list>
 
 void f()
 {
   typedef std::list<std::list<int> > list_type;
-  list_type l(10, 1);
+  list_type l(10, 1);          // { dg-error "here|no match" }
 }
index c2e0d80e73be196990075de4e728490c6d39cb43..970a10b3593515082ef76bf9e7652baf6212036b 100644 (file)
@@ -18,7 +18,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-do compile }
-// { dg-error "no matching" "" { target *-*-* } 1682 }
+// { dg-prune-output 1682 }
 
 #include <list>
 #include <utility>
@@ -26,5 +26,5 @@
 void f()
 {
   typedef std::list<std::list<std::pair<char, char> > > list_type;
-  list_type l('a', 'b');
+  list_type l('a', 'b');       // { dg-error "here|no match" }
 }
index a2db07838089578ed0d2f32ca5fb6b04dea228bb..c927735ff8dabb87516a15aa367c13674f3b4fcb 100644 (file)
@@ -18,7 +18,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-do compile }
-// { dg-error "no matching" "" { target *-*-* } 1682 }
+// { dg-prune-output 1682 }
 
 #include <list>
 
@@ -31,5 +31,5 @@ void f()
 {
   typedef std::list<A> list_type;
   list_type l;
-  l.insert(l.begin(), 10, 1);
+  l.insert(l.begin(), 10, 1);  // { dg-error "here|no match" }
 }
index 61daa28c24b2a32e2f2e2a9b5c399ecffa93fabb..ce8f525c2e670fa0c414983edc821724d7a3717c 100644 (file)
@@ -18,7 +18,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-do compile }
-// { dg-error "no matching" "" { target *-*-* } 1326 }
+// { dg-prune-output 1326 }
 
 #include <vector>
 
@@ -30,5 +30,5 @@ struct A
 void f()
 {
   std::vector<A> v;
-  v.assign(10, 1);
+  v.assign(10, 1);             // { dg-error "here|no match" }
 }
index 14d14940ae8d0ee84b355287ff623336c55fe18b..4f0d365d2476e47e72c3148dabfbe5cc09d5ddf1 100644 (file)
 // <http://www.gnu.org/licenses/>.
 
 // { dg-do compile }
-// { dg-error "no matching" "" { target *-*-* } 1252 }
+// { dg-prune-output 1252 }
 
 #include <vector>
 
 void f()
 {
-  std::vector<std::vector<int> > v(10, 1);
+  std::vector<std::vector<int> > v(10, 1); // { dg-error "here|no match" }
 }
index 6d3517fa9e3832a7c26f4be1fba2e1ac45d23438..34ffaecfc0b0c239e09ed67e0f1fe43e6c506545 100644 (file)
 // <http://www.gnu.org/licenses/>.
 
 // { dg-do compile }
-// { dg-error "no matching" "" { target *-*-* } 1252 }
+// { dg-prune-output 1252 }
 
 #include <vector>
 #include <utility>
 
 void f()
 {
-  std::vector<std::vector<std::pair<char, char> > > v('a', 'b');
+  std::vector<std::vector<std::pair<char, char> > > v('a', 'b'); // { dg-error "here|no match" }
 }
index 4fcff549a39bf7f481aec413a0525593ad45cb15..6f611bf4cb1c27d417c74cf5ffde13df90305b38 100644 (file)
@@ -18,7 +18,7 @@
 // <http://www.gnu.org/licenses/>.
 
 // { dg-do compile }
-// { dg-error "no matching" "" { target *-*-* } 1367 }
+// { dg-prune-output 1367 }
 
 #include <vector>
 
@@ -30,5 +30,5 @@ struct A
 void f()
 {
   std::vector<A> v;
-  v.insert(v.begin(), 10, 1);
+  v.insert(v.begin(), 10, 1);  // { dg-error "here|no match" }
 }
index f8592e0e93a9de8098ba7de7bfa97a6806a5467f..9ce7fef47ececd2d05005e2485b9c36ecdbeb29c 100644 (file)
@@ -15,6 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
+// { dg-options "-Wno-deprecated" }
 
 #include <ext/vstring.h>
 #include <ext/array_allocator.h>
index a012c092fefe5a27260c9b235365bc4c75fb440b..de9afe72243f22f6b1e4c1a01e756acd75f2e7cf 100644 (file)
@@ -15,6 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
+// { dg-options "-Wno-deprecated" }
 
 #include <iostream>
 #include <ext/vstring.h>
index 7a9b2c91ff02798a61202ad5bbf7f08cd4d70d47..caa795d0c093720f0c572bc96dadf85666ecadf5 100644 (file)
@@ -16,6 +16,8 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
+// { dg-options "-Wno-deprecated" }
+
 #include <ext/array_allocator.h>
 
 // libstdc++/26875
index 380c473f6792f53536644ff2dc2b8b7515519c58..d8d57272af12e30f26a1162e9d0b0901ed69fed4 100644 (file)
@@ -15,6 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
+// { dg-options "-Wno-deprecated" }
 
 #include <ext/vstring.h>
 #include <ext/array_allocator.h>
index aa26cb3fc2edd4fbdcbd51351c024e329f6a061c..abb326353d06a0aae4c98b3752f2346155b6657d 100644 (file)
@@ -16,6 +16,8 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
+// { dg-options "-Wno-deprecated" }
+
 // 20.4.1.1 allocator members
 
 #include <ext/array_allocator.h>
index 2ee8f987f583ac918af4cf81988d3ad3f9ea456d..ae0963ea8f55bbf086543ea38fdfc5180dd932f1 100644 (file)
@@ -16,6 +16,8 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
+// { dg-options "-Wno-deprecated" }
+
 // 20.4.1.1 allocator members
 
 #include <ext/array_allocator.h>
index a7cdeb6132687a3ac1a281bcb535f2c688ae41f1..216f916469b7402ab82187e798f97e11325d460d 100644 (file)
@@ -17,6 +17,8 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
+// { dg-options "-Wno-deprecated" }
+
 // 20.4.1.1 allocator members
 
 #include <cstdlib>
index d0689c2c0579d83fdf36ca4ddd4d744399c5068d..eedc6fada9749a8d993181031df94dcdd41895ce 100644 (file)
@@ -17,6 +17,8 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
+// { dg-options "-Wno-deprecated" }
+
 // 20.4.1.1 allocator members
 
 #include <cstdlib>
index dd19f1406b18509f2bdb2a86a0bb6b62db73050f..78365e74cca4670b005cbb59ca3834391d4b91c7 100644 (file)
@@ -26,3 +26,6 @@
 #include <vector>
 
 // { dg-error "multiple inlined namespaces" "" { target *-*-* } 322 }
+
+// "template argument 1 is invalid"
+// { dg-prune-output "tuple:993" }
index e57b6c0802110b3922b1484b18d4eb1ee55ae026..94344fc9925c9556b12594cedddce218acc4a10a 100644 (file)
@@ -17,6 +17,8 @@
 
 // TR1 2.2.2 Template class shared_ptr [tr.util.smartptr.shared]
 
+// { dg-options "-std=c++98" }
+
 #include <tr1/memory>
 #include <testsuite_hooks.h>
 
index b8b9c5dfeb74b5b605508d7fb60004bb35244dd8..28b4dda2620fa7efafa200f36ff2c9fe306ee81b 100644 (file)
@@ -19,6 +19,8 @@
 
 // TR1 2.2.2 Template class shared_ptr [tr.util.smartptr.shared]
 
+// { dg-options "-std=c++98" }
+
 #include <tr1/memory>
 #include <testsuite_hooks.h>
 
index 05f9d893d6d1f500e10caa13e624aaf4ff262405..4b8d0567ab20d4649e295e6f1a925982645cbbd9 100644 (file)
@@ -19,6 +19,8 @@
 
 // TR1 2.2.2 Template class shared_ptr [tr.util.smartptr.shared]
 
+// { dg-options "-std=c++98" }
+
 #include <tr1/memory>
 #include <testsuite_hooks.h>
 
index 5ebf03c198225b628ae6ac66803338093c0673a4..276c6a533379d4b8e22877fe76b3eafd94bb5794 100644 (file)
@@ -17,6 +17,8 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
+// { dg-options "-std=c++98 -fno-show-column" }
+
 // 2.2.3 Class template shared_ptr [tr.util.smartptr.shared]
 
 #include <tr1/memory>
index c95e21dd24a90a69249afc9bc96f060a83726190..32c46a8a896628936cca18b3ca1e9005e0265d61 100644 (file)
@@ -15,6 +15,8 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
+// { dg-options "-std=c++98" }
+
 // TR1 2.2.2 Template class shared_ptr [tr.util.smartptr.shared]
 
 #include <tr1/memory>
index 6dbf79622cc8d5d27363c51ac50da128851f65e7..a3e24c792fbe5d059c39f994979bb5d2e0291ab3 100644 (file)
@@ -17,6 +17,8 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
+// { dg-options "-std=c++98" }
+
 // TR1 2.2.2 Template class shared_ptr [tr.util.smartptr.shared]
 
 #include <tr1/memory>
index cc3873a57ef8e8f86eb94174801cc458c2398820..da3ec86a031dfa48f6cc7e108610099d8ff05a1b 100644 (file)
@@ -17,6 +17,8 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
+// { dg-options "-std=c++98" }
+
 // tr1 additions to pair
 
 #include <tr1/utility>
index d5886c077c563d3e21becf5664e86a15750c9578..245a8a5929bcf2d5fb467743e2d58b1c78ebb927 100644 (file)
@@ -17,6 +17,8 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
+// { dg-options "-std=c++98" }
+
 #include <cmath>
 using std::pow;
 #include <tr1/cmath>