Change x86 default arch for 4.5?

Jason Merrill jason@redhat.com
Wed Feb 24 23:00:00 GMT 2010


On 02/18/2010 07:46 PM, Joseph S. Myers wrote:
> On Thu, 18 Feb 2010, Jason Merrill wrote:
>
>> I periodically get bitten by bug 34115: a compiler configured without
>> --with-arch on i686-pc-linux-gnu doesn't support atomics.  I think we would
>> only need to bump the default to i486 to get atomic support.  Can we
>> reconsider the default for 4.5?
>
> My position remains that configuring for i686-* should default to
> -march=i686 rather than -mtune=i686.
>
> http://gcc.gnu.org/ml/gcc/2008-06/msg00223.html
> http://gcc.gnu.org/ml/gcc/2008-08/msg00445.html
>
> Perhaps someone would like to review HJ's patch to that effect?
>
> http://gcc.gnu.org/ml/gcc-patches/2008-08/msg02078.html

Perhaps one of the i386 maintainers?

Jason



More information about the Gcc mailing list