https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117641
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 59622 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59622&action=edit gcc15-pr117641.patch Untested fix (which will just error out in this case). The __sync_fetch* etc. compatibility builtins aren't really meant to be used with _BitInt, the __atomic_* builtins are, for a good reason - to emulate it it needs to use also atomic loads/stores and there aren't any for __sync_*.