From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 788 invoked by alias); 3 Dec 2002 14:56:07 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 766 invoked by uid 71); 3 Dec 2002 14:56:07 -0000 Resent-Date: 3 Dec 2002 14:56:07 -0000 Resent-Message-ID: <20021203145607.765.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, kostadindabov@terascale-euro.com Received: (qmail 561 invoked by uid 61); 3 Dec 2002 14:55:04 -0000 Message-Id: <20021203145504.560.qmail@sources.redhat.com> Date: Tue, 03 Dec 2002 06:56:00 -0000 From: kostadindabov@terascale-euro.com Reply-To: kostadindabov@terascale-euro.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: target/8795: Altivec realted bugs concerning gcc3.2.1 and gcc3.3 X-SW-Source: 2002-12/txt/msg00142.txt.bz2 List-Id: >Number: 8795 >Category: target >Synopsis: Altivec realted bugs concerning gcc3.2.1 and gcc3.3 >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Dec 03 06:56:06 PST 2002 >Closed-Date: >Last-Modified: >Originator: Kostadin Dabov >Release: 3.2.1(1 bug), 3.3(2 bugs) >Organization: >Environment: powerpc-yellowdog-linux-gnu(yellowdog 2.3), binutils 2.13 >Description: 1) The compiler crashes with segmentation fault when compiling simple Altivec and C++ code. This bug is present in 3.2(release), 3.2.1(release), 3.3(latest form gcc cvs, 1Dec2002). The example is in test.cpp 2) This bug applies only to g++(gcc -xc++), only for the 3.3 (latest source from CVS) current stage. When initializing vector values, the compiler will report: error: brace-enclosed initializer used to initialize 'vector ...' the example test.cpp illustartes this problem also. Note that the second bug applies only to g++3.3 >How-To-Repeat: g++ -maltivec -static -otest test.cpp or gcc -xc++ -maltivec -static -otest test.cpp >Fix: >Release-Note: >Audit-Trail: >Unformatted: