https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108734
Rohan McLure <rmclure at linux dot ibm.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #6 from Rohan McLure <rmclure at linux dot ibm.com> --- David is right, I was assuming '__has_builtin' implied that the function would be inlined in without needing to be obtained from libatomic. The translation unit attached should then at least compile with no linker flags required, as if the check fails it should define a stub implementation of __atomic_store_8 (pardon the obvious syntax error in that stub). Sorry, my mistake. Yes that makes more sense.