------- Comment #3 from joseph at codesourcery dot com 2007-11-15 23:53 ------- Subject: Re: atomic builtins not supported on i686?
On Thu, 15 Nov 2007, pinskia at gcc dot gnu dot org wrote: > Because the default arch for i686-linux-gnu is i386. Which is a stupid inconsistency and arguably a bug. sparcv9-linux-gnu defaults to -mcpu=v9 (where -mcpu means -march for SPARC), likewise various other architectures; i686-linux-gnu should be consistent with those other targets and default to -march=i686. libstdc++ will use i486-specific code if you configure GCC for i[456]86, even when GCC itself restricts itself to i386 code, making this default to i386 even less useful; likewise glibc will use i486/i586/i686 code when configured for those processors (and no longer supports i386). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34115