This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/38240] New: Vector type definitions not compatible with attribute target
- From: "rth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Nov 2008 18:55:43 -0000
- Subject: [Bug middle-end/38240] New: Vector type definitions not compatible with attribute target
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The attached test case segfaults because the definition of V
would differ with and without -msse. Without, we would use
vector emulation and the type has BLKmode; with, we would
have native instructions and the type has V4SFmode.
Vector types probably need a functional query for TYPE_MODE,
so that we get different modes based on the target flags for
the current function.
--
Summary: Vector type definitions not compatible with attribute
target
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rth at gcc dot gnu dot org
GCC target triplet: i386-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38240