[Bug target/80099] New: ICE in rs6000_expand_vector_extract, at config/rs6000/rs6000.c:7450
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Mar 19 20:13:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80099
Bug ID: 80099
Summary: ICE in rs6000_expand_vector_extract, at
config/rs6000/rs6000.c:7450
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: marxin at gcc dot gnu.org
Target Milestone: ---
Host: x86_64-linux-gnu
Target: ppc64le-linux-gnu
Following test-case causes ICE with cross compiler:
int a;
int b (__attribute__ ((altivec (vector__))) float *c)
{
return __builtin_vec_extract (*c, a);
}
$ ppc64le-linux-gnu-gcc -mno-upper-regs-sf /tmp/ice.i
/tmp/ice.i: In function ‘b’:
/tmp/ice.i:4:10: internal compiler error: in rs6000_expand_vector_extract, at
config/rs6000/rs6000.c:7450
return __builtin_vec_extract (*c, a);
^~~~~~~~~~~~~~~~~~~~~
0xeb3604 rs6000_expand_vector_extract(rtx_def*, rtx_def*, rtx_def*)
.././../gcc/config/rs6000/rs6000.c:7450
0xed21b7 altivec_expand_vec_ext_builtin
.././../gcc/config/rs6000/rs6000.c:15862
0xed21b7 altivec_expand_builtin
.././../gcc/config/rs6000/rs6000.c:16094
0xed7fef rs6000_expand_builtin
.././../gcc/config/rs6000/rs6000.c:17060
0x70ed86 expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int)
.././../gcc/builtins.c:6362
0x83e95f expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
.././../gcc/expr.c:10822
0x84a2f5 store_expr_with_bounds(tree_node*, rtx_def*, int, bool, bool,
tree_node*)
.././../gcc/expr.c:5552
0x84bbc0 expand_assignment(tree_node*, tree_node*, bool)
.././../gcc/expr.c:5321
0x73303a expand_call_stmt
.././../gcc/cfgexpand.c:2656
0x73303a expand_gimple_stmt_1
.././../gcc/cfgexpand.c:3571
0x73303a expand_gimple_stmt
.././../gcc/cfgexpand.c:3737
0x734d4e expand_gimple_basic_block
.././../gcc/cfgexpand.c:5744
0x73ab46 execute
.././../gcc/cfgexpand.c:6357
More information about the Gcc-bugs
mailing list