https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104680

--- Comment #6 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
> trunk.git/liboffloadmic/runtime/offload_engine.cpp:113:13: warning: Identical 
> inner 'if' condition is always true. [identicalInnerCondition]

 108   │ void Engine::init(void)
 109   │ {
 110   │     if (!m_ready) {
 111   │         mutex_locker_t locker(m_lock);
 112   │ 
 113   │         if (!m_ready) {

Possible false positive? (multithreaded code?)

Reply via email to