[Bug target/79908] New: ICE in gimplify_expr (gimplify.c:12155) gimplification failed
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 6 09:48:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79908
Bug ID: 79908
Summary: ICE in gimplify_expr (gimplify.c:12155) gimplification
failed
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
Target Milestone: ---
Target: ppc64le-linux-gnu
Created attachment 40890
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40890&action=edit
test-case
Following test-case taken from LLVM ICEs:
ppc64le-linux-gnu-gcc ppc64-varargs-complex.c -O1
gimplification failed:
COMPLEX_EXPR <D.2511, D.2514> <complex_expr 0x7f64a7351398
type <complex_type 0x7f64a71d2f18 complex int
type <integer_type 0x7f64a71bd738 int public SI
size <integer_cst 0x7f64a71c7558 constant 32>
unit size <integer_cst 0x7f64a71c7570 constant 4>
align 32 symtab 0 alias set -1 canonical type 0x7f64a71bd738
precision 32 min <integer_cst 0x7f64a71c7510 -2147483648> max <integer_cst
0x7f64a71c7528 2147483647>
pointer_to_this <pointer_type 0x7f64a731ca80>>
sizes-gimplified CSI
size <integer_cst 0x7f64a71c7318 constant 64>
unit size <integer_cst 0x7f64a71c7330 constant 8>
align 32 symtab 0 alias set -1 canonical type 0x7f64a71d2f18
pointer_to_this <pointer_type 0x7f64a731c9d8>>
arg 0 <var_decl 0x7f64a8934f30 D.2511 type <integer_type 0x7f64a71bd738
int>
used ignored SI file ppc64-varargs-complex.c line 10 col 16 size
<integer_cst 0x7f64a71c7558 32> unit size <integer_cst 0x7f64a71c7570 4>
align 32 context <function_decl 0x7f64a7320300 testva>
chain <var_decl 0x7f64a8934ea0 D.2510 type <pointer_type
0x7f64a71d6bd0>
used unsigned ignored DI file ppc64-varargs-complex.c line 10 col
16 size <integer_cst 0x7f64a71c7318 64> unit size <integer_cst 0x7f64a71c7330
8>
align 64 context <function_decl 0x7f64a7320300 testva> chain
<var_decl 0x7f64a8934e10 D.2509>>>
arg 1 <var_decl 0x7f64a7357120 D.2514 type <integer_type 0x7f64a71bd738
int>
used ignored SI file ppc64-varargs-complex.c line 10 col 16 size
<integer_cst 0x7f64a71c7558 32> unit size <integer_cst 0x7f64a71c7570 4>
align 32 context <function_decl 0x7f64a7320300 testva>
chain <var_decl 0x7f64a7357090 D.2513 type <pointer_type
0x7f64a71d6bd0>
used unsigned ignored DI file ppc64-varargs-complex.c line 10 col
16 size <integer_cst 0x7f64a71c7318 64> unit size <integer_cst 0x7f64a71c7330
8>
align 64 context <function_decl 0x7f64a7320300 testva> chain
<var_decl 0x7f64a7357000 D.2512>>>>
ppc64-varargs-complex.c: In function ‘testva’:
ppc64-varargs-complex.c:10:16: internal compiler error: gimplification failed
_Complex int i = va_arg(ap, _Complex int);
^
0x8fe8e9 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
.././../gcc/gimplify.c:12155
0xd99b9b expand_ifn_va_arg_1
.././../gcc/tree-stdarg.c:1061
0xd99b9b expand_ifn_va_arg
.././../gcc/tree-stdarg.c:1101
0xd9ba6b execute
.././../gcc/tree-stdarg.c:1154
Please submit a full bug report,
More information about the Gcc-bugs
mailing list