From dbf3a492336d837a1d2137c6e195100ab65e03c0 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Sun, 16 Dec 2007 22:31:16 +0000 Subject: [PATCH] default_weaktoshared.cc: Add required dg-option for cygwin and darwin targets. 2007-12-16 Jonathan Wakely * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc: Add required dg-option for cygwin and darwin targets. * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise. From-SVN: r130995 --- libstdc++-v3/ChangeLog | 6 ++++++ .../20_util/shared_ptr/thread/default_weaktoshared.cc | 1 + .../20_util/shared_ptr/thread/mutex_weaktoshared.cc | 1 + 3 files changed, 8 insertions(+) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 184c18ada04..ad7f2e3857a 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2007-12-16 Jonathan Wakely + + * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc: Add + required dg-option for cygwin and darwin targets. + * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise. + 2007-12-15 Jonathan Wakely * include/tr1_impl/boost_shared_ptr.h: Add support for allocators, diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc index c806a0e1293..31e31763ce7 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc @@ -21,6 +21,7 @@ // { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* mips-sgi-irix6* } } // { dg-options "-pthread -std=gnu++0x" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* mips-sgi-irix6* } } // { dg-options "-pthreads -std=gnu++0x" { target *-*-solaris* } } +// { dg-options " -std=gnu++0x " { target *-*-cygwin *-*-darwin* } } #include #include diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc index 1515f65b443..503498bd5f6 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc @@ -21,6 +21,7 @@ // { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* mips-sgi-irix6* } } // { dg-options " -std=gnu++0x -pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* mips-sgi-irix6* } } // { dg-options " -std=gnu++0x -pthreads" { target *-*-solaris* } } +// { dg-options " -std=gnu++0x " { target *-*-cygwin *-*-darwin* } } #include #include