This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3 patch] Add std::tr1::shared_ptr
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Jonathan Wakely <cow at compsoc dot man dot ac dot uk>
- Cc: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Tue, 22 Feb 2005 13:56:14 +0100
- Subject: Re: [v3 patch] Add std::tr1::shared_ptr
- References: <20050221131605.GA37622@compsoc.man.ac.uk>
Jonathan,
I committed the trival patch below to avoid spurious fails in the testsuite.
Paolo.
////////////////
2005-02-22 Paolo Carlini <pcarlini@suse.de>
* testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
auto_ptr_neg.cc: Add missing dg-do compile directive.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
auto_ptr_rvalue_neg.cc: Likewise.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/
shared_ptr_neg.cc: Likewise.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/
auto_ptr_neg.cc: Likewise.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
reset_neg.cc: Likewise.
* testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/
swap_neg.cc: Likewise.
diff -urN libstdc++-v3-orig/testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/auto_ptr_neg.cc libstdc++-v3/testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/auto_ptr_neg.cc
--- libstdc++-v3-orig/testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/auto_ptr_neg.cc 2005-02-22 01:10:19.000000000 +0100
+++ libstdc++-v3/testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/auto_ptr_neg.cc 2005-02-22 13:23:45.000000000 +0100
@@ -1,3 +1,5 @@
+// { dg-do compile }
+
// Copyright (C) 2005 Free Software Foundation
//
// This file is part of the GNU ISO C++ Library. This library is free
diff -urN libstdc++-v3-orig/testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/auto_ptr_rvalue_neg.cc libstdc++-v3/testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/auto_ptr_rvalue_neg.cc
--- libstdc++-v3-orig/testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/auto_ptr_rvalue_neg.cc 2005-02-22 01:10:19.000000000 +0100
+++ libstdc++-v3/testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/auto_ptr_rvalue_neg.cc 2005-02-22 13:24:02.000000000 +0100
@@ -1,3 +1,5 @@
+// { dg-do compile }
+
// Copyright (C) 2005 Free Software Foundation
//
// This file is part of the GNU ISO C++ Library. This library is free
diff -urN libstdc++-v3-orig/testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/shared_ptr_neg.cc libstdc++-v3/testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/shared_ptr_neg.cc
--- libstdc++-v3-orig/testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/shared_ptr_neg.cc 2005-02-22 01:10:19.000000000 +0100
+++ libstdc++-v3/testsuite/tr1/2_general_utilities/memory/shared_ptr/assign/shared_ptr_neg.cc 2005-02-22 13:24:36.000000000 +0100
@@ -1,3 +1,5 @@
+// { dg-do compile }
+
// Copyright (C) 2005 Free Software Foundation
//
// This file is part of the GNU ISO C++ Library. This library is free
diff -urN libstdc++-v3-orig/testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/auto_ptr_neg.cc libstdc++-v3/testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/auto_ptr_neg.cc
--- libstdc++-v3-orig/testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/auto_ptr_neg.cc 2005-02-22 01:10:20.000000000 +0100
+++ libstdc++-v3/testsuite/tr1/2_general_utilities/memory/shared_ptr/cons/auto_ptr_neg.cc 2005-02-22 13:24:52.000000000 +0100
@@ -1,3 +1,5 @@
+// { dg-do compile }
+
// Copyright (C) 2005 Free Software Foundation
//
// This file is part of the GNU ISO C++ Library. This library is free
diff -urN libstdc++-v3-orig/testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/reset_neg.cc libstdc++-v3/testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/reset_neg.cc
--- libstdc++-v3-orig/testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/reset_neg.cc 2005-02-22 01:10:21.000000000 +0100
+++ libstdc++-v3/testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/reset_neg.cc 2005-02-22 13:25:08.000000000 +0100
@@ -1,3 +1,5 @@
+// { dg-do compile }
+
// Copyright (C) 2005 Free Software Foundation
//
// This file is part of the GNU ISO C++ Library. This library is free
diff -urN libstdc++-v3-orig/testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/swap_neg.cc libstdc++-v3/testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/swap_neg.cc
--- libstdc++-v3-orig/testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/swap_neg.cc 2005-02-22 01:10:21.000000000 +0100
+++ libstdc++-v3/testsuite/tr1/2_general_utilities/memory/shared_ptr/modifiers/swap_neg.cc 2005-02-22 13:25:19.000000000 +0100
@@ -1,3 +1,5 @@
+// { dg-do compile }
+
// Copyright (C) 2005 Free Software Foundation
//
// This file is part of the GNU ISO C++ Library. This library is free