[Bug target/85170] New: ICE: in final_scan_insn_1, at final.c:3139 (error: could not split insn)
asolokha at gmx dot com
gcc-bugzilla@gcc.gnu.org
Tue Apr 3 10:31:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85170
Bug ID: 85170
Summary: ICE: in final_scan_insn_1, at final.c:3139 (error:
could not split insn)
Product: gcc
Version: unknown
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: asolokha at gmx dot com
Target Milestone: ---
Target: powerpcspe-*-linux-gnu
gcc-8.0.0-alpha20180401 snapshot (r258999) ICEs when compiling the following
snippet w/ -O1 -fkeep-gc-roots-live -ftrapv -ftree-loop-vectorize
-fno-split-wide-types for a SPE target:
int
ae (int *ex, int ni)
{
int it = 0;
while (ni < 1)
{
it += ex[ni];
++ni;
}
return it;
}
% powerpc-e500v2-linux-gnuspe-gcc-8.0.0-alpha20180401 -O1 -fkeep-gc-roots-live
-ftrapv -ftree-loop-vectorize -fno-split-wide-types -c ywcbo250.c
ywcbo250.c: In function 'ae':
ywcbo250.c:13:1: error: could not split insn
}
^
(insn 44 43 46 (set (reg:DI 28 28 [orig:195 vect__4.10 ] [195])
(mem:DI (plus:SI (reg/f:SI 26 26 [orig:172 vectp.9 ] [172])
(reg:SI 27 27 [orig:155 ivtmp.17 ] [155])) [0 MEM[base:
vectp.9_58, index: ivtmp.17_14, offset: 0B]+0 S8 A64])) 593 {*movdi_internal32}
(nil))
during RTL pass: final
ywcbo250.c:13:1: internal compiler error: in final_scan_insn_1, at final.c:3139
0x54c424 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
/var/tmp/portage/cross-powerpc-e500v2-linux-gnuspe/gcc-8.0.0_alpha20180401/work/gcc-8-20180401/gcc/rtl-error.c:108
0x890bce final_scan_insn_1
/var/tmp/portage/cross-powerpc-e500v2-linux-gnuspe/gcc-8.0.0_alpha20180401/work/gcc-8-20180401/gcc/final.c:3139
0x890f37 final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
/var/tmp/portage/cross-powerpc-e500v2-linux-gnuspe/gcc-8.0.0_alpha20180401/work/gcc-8-20180401/gcc/final.c:3218
0x8910c7 final_1
/var/tmp/portage/cross-powerpc-e500v2-linux-gnuspe/gcc-8.0.0_alpha20180401/work/gcc-8-20180401/gcc/final.c:2088
0x891fe7 rest_of_handle_final
/var/tmp/portage/cross-powerpc-e500v2-linux-gnuspe/gcc-8.0.0_alpha20180401/work/gcc-8-20180401/gcc/final.c:4671
0x891fe7 execute
/var/tmp/portage/cross-powerpc-e500v2-linux-gnuspe/gcc-8.0.0_alpha20180401/work/gcc-8-20180401/gcc/final.c:4745
More information about the Gcc-bugs
mailing list