http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60521
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2014-03-14 Ever confirmed|0 |1 Severity|blocker |normal --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Sergei Turchanov from comment #0) > lock_guard(mutex_type& __m, adopt_lock_t) : _M_device(__m) > { } // calling thread owns mutex Where in that code do you think it locks the mutex?