From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29978 invoked by alias); 23 Nov 2008 18:57:05 -0000 Received: (qmail 21168 invoked by uid 48); 23 Nov 2008 18:55:43 -0000 Date: Sun, 23 Nov 2008 18:57:00 -0000 Subject: [Bug middle-end/38240] New: Vector type definitions not compatible with attribute target X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rth at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-11/txt/msg01994.txt.bz2 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