https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96159
--- Comment #2 from Martin Uecker <uecker at eecs dot berkeley.edu> --- Clang produces a call to __atomic_load. Also here is a godbolt link: https://godbolt.org/z/39PE1G
uecker at eecs dot berkeley.edu Fri, 10 Jul 2020 13:37:32 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96159
--- Comment #2 from Martin Uecker <uecker at eecs dot berkeley.edu> --- Clang produces a call to __atomic_load. Also here is a godbolt link: https://godbolt.org/z/39PE1G