https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96991
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Note, the testcase would need to require int128 effective target or even sync_int_128_runtime, ensure linking with -latomic on offloading targets that need it (unless we handle it automatically), but also as I said, it contains just 3 randomly chosen atomics. Would be nice to have more complete test coverage of the atomics, like having one test per basic atomic size (char, short, int, long long, int128) and in each test at least most of the __atomic* and __sync_* builtins that are out there. See e.g. gcc.dg/atomic*.c and gcc.dg/sync*.c. Perhaps use macros to avoid too many repetitions.