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

--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Eric Botcazou <ebotca...@gcc.gnu.org>:

https://gcc.gnu.org/g:5c82694319a168a1369bafa4c6e21b664a5d0bc8

commit r15-9419-g5c82694319a168a1369bafa4c6e21b664a5d0bc8
Author: Eric Botcazou <ebotca...@adacore.com>
Date:   Mon Apr 14 09:32:20 2025 +0200

    Fix implementation of Win32 thread model for C++ modules

    This applies the same magic to config/i386/gthr-win32.h that was applied
    to gthr-posix.h (https://gcc.gnu.org/cgit/gcc/commit/?id=6a4d1c374eed17)
    for the sake of C++ modules.

    libgcc/
            PR target/119673
            * config/i386/gthr-win32.h (__GTHREAD_ALWAYS_INLINE): New macro.
            (__GTHREAD_INLINE): Likewise.
            (__GTHR_W32_InterlockedCompareExchange): Delete.
            (__gthread_active_p): Mark as __GTHREAD_INLINE instead of
            static inline.
            (__gthread_create): Likewise.
            (__gthread_join): Likewise.
            (__gthread_self): Likewise.
            (__gthread_detach): Likewise.
            (__gthread_equal): Likewise.
            (__gthread_yield): Likewise.
            (__gthread_once): Likewise.
            (__gthread_key_create): Likewise.
            (__gthread_key_delete): Likewise.
            (__gthread_getspecific): Likewise.
            (__gthread_setspecific): Likewise.
            (__gthread_mutex_init_function): Likewise.
            (__gthread_mutex_destroy): Likewise.
            (__gthread_mutex_lock): Likewise.
            (__gthread_mutex_trylock): Likewise.
            (__gthread_mutex_timedlock): Likewise.
            (__gthread_mutex_unlock): Likewise.
            (__gthread_recursive_mutex_trylock): Likewise.
            (__gthread_cond_init_function): Likewise.
            (__gthread_cond_broadcast): Likewise.
            (__gthread_cond_signal): Likewise.
            (__gthread_cond_wait): Likewise.
            (__gthread_cond_timedwait): Likewise.
            (__GTHREAD_WIN32_INLINE): Likewise.
            (__GTHREAD_WIN32_COND_INLINE): Likewise.
            (__gthread_recursive_mutex_init_function): Likewise.
            (__gthread_recursive_mutex_destroy): Likewise.
            (__gthread_recursive_mutex_lock): Likewise.
            (__gthread_recursive_mutex_unlock): Likewise.
            (__gthread_cond_destroy): Likewise.
            (__gthread_cond_wait_recursive): Likewise.

Reply via email to