[Bug middle-end/64744] New: ARM: gcc internal compiler error: in store_field, at expr.c:6659
coopht at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Jan 23 10:56:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64744
Bug ID: 64744
Summary: ARM: gcc internal compiler error: in store_field, at
expr.c:6659
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: coopht at gmail dot com
Created attachment 34544
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34544&action=edit
Test to reproduce ICE on gcc's trunk
ICE occured while compiling attach like this:
./cc1 -O0 test_segfault_array.c
Reproduced on:
svn+ssh://gcc.gnu.org/svn/gcc/trunk@220028
Backtrace:
test_segfault_array.c: In function 'foo':
test_segfault_array.c:4:10: internal compiler error: in store_field, at
expr.c:6659
char a [2] = {0};
^
0x92a415 store_field
/mnt/staff/compiler/gcc-head/src/gcc/gcc/expr.c:6659
0x9236e5 expand_assignment(tree_node*, tree_node*, bool)
/mnt/staff/compiler/gcc-head/src/gcc/gcc/expr.c:5000
0x7f0544 expand_gimple_stmt_1
/mnt/staff/compiler/gcc-head/src/gcc/gcc/cfgexpand.c:3398
0x7f0958 expand_gimple_stmt
/mnt/staff/compiler/gcc-head/src/gcc/gcc/cfgexpand.c:3494
0x7f7afa expand_gimple_basic_block
/mnt/staff/compiler/gcc-head/src/gcc/gcc/cfgexpand.c:5407
0x7f9519 execute
/mnt/staff/compiler/gcc-head/src/gcc/gcc/cfgexpand.c:6016
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
More information about the Gcc-bugs
mailing list