https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113772
--- Comment #2 from Iain Buclaw <ibuclaw at gdcproject dot org> --- (In reply to Iain Sandoe from comment #0) > I am now seeing this on both Darwin and Linux BE powerpc. > > The message is somewhat odd, since AFAICS from the core druntime code that > pulls in builtins.def which pulls in sync-builtins.def - which defines this > builtin. > > If I check the C compiler manually, then the builtin works as expected - > inline for 1,2,4 bytes and out-of-line call to the atomic library for 8+ > (32b PPC). Yes, that's correct. The contents of the builtins module can be dumped with: ``` // builtins.d module gcc.builtins; ``` gdc -H builtins.d && cat builtins.di I can check this shortly.