This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]