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

--- Comment #21 from Jørgen Kvalsvik <j at lambda dot is> ---
Does that mean that the feature detection of atomics, leading to the use
BUILT_IN_ATOMIC_FETCH_* is wrong? We use the BUILT_IN for emitting
instructions. It could be that it's the detection itself that needs some
tweaking. Maybe a separate report?

Interestingly, it was John that defined HAVE_sync_compare_and_swapdi in 2015:

commit 7e7c9d40d17e0efb27691fe9dfc4c831d03c7ff2
Author: John David Anglin <dang...@gcc.gnu.org>
Date:   Fri Sep 25 00:01:34 2015 +0000

    pa-linux.h (HAVE_sync_compare_and_swapdi): Define.

Reply via email to