[Bug middle-end/55750] New: [4.8 Regression] :-( in expand_expr_addr_expr_1, at expr.c:7646
d.g.gorbachev at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Dec 20 05:48:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55750
Bug #: 55750
Summary: [4.8 Regression] :-( in expand_expr_addr_expr_1, at
expr.c:7646
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: d.g.gorbachev@gmail.com
$ cat bug.c
struct S {
unsigned m : 1;
unsigned n : 7;
} arr[2];
void foo(unsigned i)
{
arr[i].n++;
}
$ gcc -S bug.c
bug.c: In function 'foo':
bug.c:8:11: internal compiler error: in expand_expr_addr_expr_1, at expr.c:7646
arr[i].n++;
^
0x8387af9 expand_expr_addr_expr_1
../../gcc-4.8/gcc/expr.c:7646
0x8387e16 expand_expr_addr_expr
../../gcc-4.8/gcc/expr.c:7688
0x8393de1 expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**)
../../gcc-4.8/gcc/expr.c:10369
0x83883dc expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifier,
rtx_def**)
../../gcc-4.8/gcc/expr.c:7848
0x837dc00 store_expr(tree_node*, rtx_def*, int, bool)
../../gcc-4.8/gcc/expr.c:5224
0x837cac8 expand_assignment(tree_node*, tree_node*, bool)
../../gcc-4.8/gcc/expr.c:5010
0x828c3eb expand_gimple_stmt_1
../../gcc-4.8/gcc/cfgexpand.c:2209
0x828c7ee expand_gimple_stmt
../../gcc-4.8/gcc/cfgexpand.c:2305
0x829337d expand_gimple_basic_block
../../gcc-4.8/gcc/cfgexpand.c:4084
0x8294c86 gimple_expand_cfg
../../gcc-4.8/gcc/cfgexpand.c:4603
More information about the Gcc-bugs
mailing list