------- Comment #6 from scovich at gmail dot com 2007-11-16 01:04 ------- (In reply to comment #5) > Subject: Re: atomic builtins not supported on i686? > > On 15 Nov 2007 23:53:06 -0000, joseph at codesourcery dot com > <[EMAIL PROTECTED]> wrote: > > > Because the default arch for i686-linux-gnu is i386. > > Which is a stupid inconsistency and arguably a bug. > > ++ > > BTW, -march=i686 works beautifully. Close the bug? or rename it as a > RFE to have i686-* default to -march=i686? >
Oh, and is there supposed to be a warning about unsupported atomic ops or not? If not the docs should say to expect a linker error instead (and also mention/link those macros Paolo pointed out). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34115