This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/45325] [4.6 Regression] target attribute doesn't work with -march=i586
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 28 Jan 2011 15:19:26 +0000
- Subject: [Bug target/45325] [4.6 Regression] target attribute doesn't work with -march=i586
- Auto-submitted: auto-generated
- References: <bug-45325-4@http.gcc.gnu.org/bugzilla/>
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.