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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #63329|0                           |1
        is obsolete|                            |

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Created attachment 63330
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63330&action=edit
Reduced

Here b is invalid_thread_id.
While a is thread_id.
And c is hpx::mutex.

Note in the original the move constructor for thread_id is constexpr:
```
        constexpr thread_id() noexcept = default;

        thread_id(thread_id const&) = default;
        thread_id& operator=(thread_id const&) = default;

        ~thread_id() = default;

        constexpr thread_id(thread_id&& rhs) noexcept
```

Reply via email to