[patch] fix OPTIONS_DEFAULT_SPEC for i386

Andrew Pinski pinskia@physics.uc.edu
Wed Jul 19 22:02:00 GMT 2006


On Jul 20, 2006, at 3:53 AM, Eric Christopher wrote:

> So, if you configure --with-arch and --with-tune, in particular  
> different architectures (like pentium-m and generic for example),  
> the specs in OPTIONS_DEFAULT_SPEC will fill in the appropriate - 
> march and -mtune value for you. Unfortunately for x86 it won't do  
> that quite right at the moment. Right now -mtune defaults in  
> OPTIONS_DEFAULT_SPEC to looking at whether or not -march (as well  
> as -mcpu and -mtune) has been passed along the command line before  
> determining whether or not to pass the default -mtune value.  
> Unfortunately as ordered the march value was substituted by default  
> first and made -mtune not be passed along which gave a tuning of  
> the default arch value, not the default tune value.

This is PR 26877.

-- Pinski



More information about the Gcc-patches mailing list