Patchwork [v3] fix PR 54297 - segfaults with std::async

login
register
mail settings
Submitter Jonathan Wakely
Date Aug. 26, 2012, 2:59 p.m.
Message ID <CAH6eHdQYiw1mQEd3jk0+9TDVO8VbkQ-si75TZK7kJN9x9xPAgw@mail.gmail.com>
Download mbox | patch
Permalink /patch/180060/
State New
Headers show

Comments

Jonathan Wakely - Aug. 26, 2012, 2:59 p.m.
* testsuite/30_threads/async/54297.cc: Add dg-require-nanosleep.

Fixed on trunk and 4.7 branch.

Patch

--- 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.
 //