From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30379 invoked by alias); 4 Nov 2012 18:01:40 -0000 Received: (qmail 30344 invoked by uid 48); 4 Nov 2012 18:01:27 -0000 From: "mathias at gaunard dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/55184] [4.6 Regression] Invalid codegen with vectors and casts Date: Sun, 04 Nov 2012 18:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mathias at gaunard dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.6.4 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2012-11/txt/msg00294.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55184 --- Comment #4 from Mathias Gaunard 2012-11-04 18:01:27 UTC --- Sorry, I edited the file in between and ended up uploading the wrong test case. Below is the result on my machine with the fixed testcase. $ gcc --version gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ gcc -dumpmachine x86_64-linux-gnu $ gcc test.c -o test && ./test 1 (should be 1) 0 (should be 0) 0 (should be 0) 0 (should be 0) 0 (should be 0) 0 (should be 0) 0 (should be 0) 0 (should be 0) 1 (should be 1) 0 (should be 0) 0 (should be 0) 0 (should be 0) 0 (should be 0) 0 (should be 0) 0 (should be 0) 0 (should be 0) $ gcc -O1 test.c -o test && ./test 1 (should be 1) 0 (should be 0) 0 (should be 0) 0 (should be 0) 0 (should be 0) 0 (should be 0) 0 (should be 0) 0 (should be 0) 0 (should be 1) 0 (should be 0) 0 (should be 0) 0 (should be 0) 0 (should be 0) 0 (should be 0) 0 (should be 0) 0 (should be 0)