Project

General

Profile

Bug #20633 ยป patch-vm_insnhelper.c.diff

kimuraw (Wataru Kimura), 07/13/2024 10:31 AM

View differences:

vm_insnhelper.c
This is a no-op in all cases we've looked at (https://godbolt.org/z/3oxd1446K), but should guarantee it for all
future/untested compilers/platforms. */
#ifdef HAVE_DECL_ATOMIC_SIGNAL_FENCE
#if defined HAVE_DECL_ATOMIC_SIGNAL_FENCE && HAVE_DECL_ATOMIC_SIGNAL_FENCE
atomic_signal_fence(memory_order_seq_cst);
#endif
    (1-1/1)