From patchwork Sun Aug 26 14:59:46 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [v3] fix PR 54297 - segfaults with std::async Date: Sun, 26 Aug 2012 04:59:46 -0000 From: Jonathan Wakely X-Patchwork-Id: 180060 Message-Id: To: "H.J. Lu" Cc: "libstdc++" , gcc-patches * testsuite/30_threads/async/54297.cc: Add dg-require-nanosleep. Fixed on trunk and 4.7 branch. --- a/libstdc++-v3/testsuite/30_threads/async/54297.cc +++ b/libstdc++-v3/testsuite/30_threads/async/54297.cc @@ -5,6 +5,7 @@ // { dg-require-cstdint "" } // { dg-require-gthreads "" } // { dg-require-atomic-builtins "" } +// { dg-require-nanosleep "" } // Copyright (C) 2012 Free Software Foundation, Inc. //