* include/std/mutex (call_once): Remove parentheses to fix error in
commit1e49613638a43713b2e1113ee89922fc6cc08858
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 9 Jun 2013 23:54:07 +0000 (9 23:54 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 9 Jun 2013 23:54:07 +0000 (9 23:54 +0000)
treecbebc0c0bb8317e87a6ab55453980b226a4e1c0c
parentfe9c9e23e0abf057ead745de1412855c5addcdef
* include/std/mutex (call_once): Remove parentheses to fix error in
c++1y and gnu++1y mode.
* testsuite/30_threads/mutex/try_lock/2.cc: Call try_lock() in new
thread to avoid undefined behaviour.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199875 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/mutex
libstdc++-v3/testsuite/30_threads/mutex/try_lock/2.cc