I get an ICE in extract_insn with -maltivec. The original source file works
with gcc 4.0 but fails with 4.1 and 4.2. This reduced test case fails with 4.1
but works with 4.2. I'll run it through delta again to find a test case for
4.2.
304:[EMAIL PROTECTED]: ~/delta/bin] gcc-4.1 -maltivec -O1 -c mini.c
305:[EMAIL PROTECTED]: ~/delta/bin] gcc-4.1 -maltivec -O2 -c mini.c
mini.c: In function ânb_kernel112_ppc_altivecâ:
mini.c:110: error: unrecognizable insn:
(insn 287 43 227 3 (set (reg:V4SF 90 13)
(mem/u/c/i:V4SF (symbol_ref/u:SI ("*.LC0") [flags 0x2]) [3 S16 A128]))
-1 (nil)
(nil))
mini.c:110: internal compiler error: in extract_insn, at recog.c:2084
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
Preprocessed source stored into /tmp/cc6nkhMT.out file, please attach this to
your bugreport.
zsh: exit 1 gcc-4.1 -maltivec -O2 -c mini.c
306:[EMAIL PROTECTED]: ~/delta/bin] /usr/lib/gcc-snapshot/bin/gcc -maltivec -O2
-c
mini.c
307:[EMAIL PROTECTED]: ~/delta/bin]
This may be related to PR19960 but doesn't appear to be the same.
--
Summary: [4.1/4.2 regression] ICE in extract_insn with -maltivec
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tbm at cyrius dot com
GCC build triplet: powerpc-linux-gnu
GCC host triplet: powerpc-linux-gnu
GCC target triplet: powerpc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27158