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

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 28 15:33:00 GMT 2011


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

--- Comment #14 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-01-28 15:19:23 UTC ---
The test is invalid on i[345]86-*-* without also enabling -msse.  A fix is to
add

/* { dg-options "-msse" { target i[345]86-*-* } } */

probably also for x86_64 with -m32.  Or simply unconditionally as it is a
x86 specific test anyway.

A fix for the bug would instead issue a diagnostic.



More information about the Gcc-bugs mailing list