[Bug target/45325] [4.6 Regression] target attribute doesn't work with -march=i586

rguenther at suse dot de gcc-bugzilla@gcc.gnu.org
Fri Jan 28 15:45:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45325

--- Comment #16 from rguenther at suse dot de <rguenther at suse dot de> 2011-01-28 15:32:50 UTC ---
On Fri, 28 Jan 2011, davek at gcc dot gnu.org wrote:

> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45325
> 
> --- Comment #15 from Dave Korn <davek at gcc dot gnu.org> 2011-01-28 15:28:33 UTC ---
> (In reply to comment #14)
> > The test is invalid on i[345]86-*-* without also enabling -msse.
> 
>   Does the same apply to libcpp/lex.c?  i.e. Is that code invalid unless
> compiled with -msse2?  LTO bootstrap with arch=i686,tune=generic was still
> broken last time I checked.

Yes.  The code should be #ifdefed out when -msse is not enabled.

Richard.



More information about the Gcc-bugs mailing list