This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/11591] New: ICE in gcc.dg/altivec-5.c in 3.3 branch for non-Altivec powerpc
- From: "dank at kegel dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jul 2003 18:06:18 -0000
- Subject: [Bug target/11591] New: ICE in gcc.dg/altivec-5.c in 3.3 branch for non-Altivec powerpc
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11591
Summary: ICE in gcc.dg/altivec-5.c in 3.3 branch for non-Altivec
powerpc
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dank at kegel dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-unknown-linux-gnu
GCC host triplet: i686-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnu
I built and tested gcc-ss-3_3-20030714 using http://kegel.com/crosstool
for two powerpc CPUs that lack altivec support, ppc405 and ppc750.
They both had the following failure in 'make check-gcc':
FAIL: gcc.dg/altivec-5.c (test for excess errors)
Excess errors:
/crosstool-0.13/build/powerpc-750-linux-gnu/gcc-ss-3_3-20030714-glibc-2.2.5/gcc-ss-3_3-20030714/gcc/testsuite/gcc.dg/altivec-5.c:12:
error: unrecognizable insn:
(insn:HI 5 18 6 0 (nil) (set (reg/v:V4SI 120)
(mem/f:V4SI (plus:SI (reg/f:SI 67 ap)
(const_int 8 [0x8])) [4 b+0 S16 A128])) -1 (nil)
(nil))
/crosstool-0.13/build/powerpc-750-linux-gnu/gcc-ss-3_3-20030714-glibc-2.2.5/gcc-ss-3_3-20030714/gcc/testsuite/gcc.dg/altivec-5.c:12:
internal compiler error: in extract_insn, at recog.c:2175
Seems like there are two problems here:
1. the compiler shouldn't ICE
2. the test case should't be compiled for targets that don't have altivec
in the triplet (or was that done on purpose?)