https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92056
Bug ID: 92056
Summary: ice in expr_object_size, at tree-object-si ze.c:675
with -O3
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
Created attachment 47016
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47016&action=edit
C source code
The attached C code, when compiled by -O3, does this:
cgenl.c: In function ‘ncglex’:
ncgenl.c:1752:5: internal compiler error: in expr_object_size, at
tree-object-si
ze.c:675
0x6bc6ff expr_object_size
../../trunk/gcc/tree-object-size.c:675
0xe500c1 cond_expr_object_size
../../trunk/gcc/tree-object-size.c:909
0xe500c1 collect_object_sizes_for
../../trunk/gcc/tree-object-size.c:987
0xe4dfe8 compute_builtin_object_size(tree_node*, int, unsigned long*,
tree_node*
*)
../../trunk/gcc/tree-object-size.c:578
The problem seems to start between 276750 and 276800. I'll
have my usual go at reducing the code.