This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
target/8795: Altivec realted bugs concerning gcc3.2.1 and gcc3.3
- From: kostadindabov at terascale-euro dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 3 Dec 2002 14:55:04 -0000
- Subject: target/8795: Altivec realted bugs concerning gcc3.2.1 and gcc3.3
- Reply-to: kostadindabov at terascale-euro dot com
>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: