Fix static initialization of std::atomic_flag; Fixes PR#37226. Thanks to Ricky Zhou...
authorMarshall Clow <mclow.lists@gmail.com>
Wed, 25 Apr 2018 14:27:29 +0000 (14:27 +0000)
committerMarshall Clow <mclow.lists@gmail.com>
Wed, 25 Apr 2018 14:27:29 +0000 (14:27 +0000)
commit3df56fdd9b2089eea98eadf5730a86b26aa8cc76
treec592a98bffeb7e59ab0c720a202d0b55e1fd7273
parentd58bd8dc4a1934e87c568a2fa40503461b3c7690
Fix static initialization of std::atomic_flag; Fixes PR#37226. Thanks to Ricky Zhou for the report and test case.

llvm-svn: 330828
libcxx/include/atomic
libcxx/test/libcxx/atomics/atomics.flag/init_bool.pass.cpp