[Bug 223] New: ARM: internal compiler error: in operand_equal_p, at fold-const.c:2934
via D.gnu
d.gnu at puremagic.com
Sun May 15 02:22:30 PDT 2016
http://bugzilla.gdcproject.org/show_bug.cgi?id=223
Bug ID: 223
Summary: ARM: internal compiler error: in operand_equal_p, at
fold-const.c:2934
Product: GDC
Version: development
Hardware: ARM
OS: All
Status: NEW
Severity: normal
Priority: Normal
Component: gdc
Assignee: ibuclaw at gdcproject.org
Reporter: johannespfau at gmail.com
Reduced from a phobos unit test, this code doesn't compile with GDC 6/7. It
compiles with GDC-5 so I didn't find this in previous ARM tests.
-----------------------------------------
struct ByLine
{
char[] line;
char[] front()
{
return line;
}
}
bool foo()
{
ByLine lines;
return lines.front is lines.front;
}
-----------------------------------------
gdc -c test.d
-----------------------------------------
test.d: In function 'foo':
test.d:13:5: internal compiler error: in operand_equal_p, at fold-const.c:2934
return lines.front is lines.front;
^
0x49c0e3 operand_equal_p(tree_node const*, tree_node const*, unsigned int)
../../gcc-6.1.0/gcc/fold-const.c:2934
0x49a4f7 operand_equal_p(tree_node const*, tree_node const*, unsigned int)
../../gcc-6.1.0/gcc/fold-const.c:3176
0x49ac5f operand_equal_p(tree_node const*, tree_node const*, unsigned int)
../../gcc-6.1.0/gcc/fold-const.c:3113
0x34864f fold_builtin_memcmp
../../gcc-6.1.0/gcc/builtins.c:7125
0x34864f fold_builtin_3
../../gcc-6.1.0/gcc/builtins.c:8224
0x34864f fold_builtin_n(unsigned int, tree_node*, tree_node**, int, bool)
../../gcc-6.1.0/gcc/builtins.c:8280
0x49e0c7 fold_build_call_array_loc(unsigned int, tree_node*, tree_node*, int,
tree_node**)
../../gcc-6.1.0/gcc/fold-const.c:12644
0xa325c7 build_call_expr_loc_array(unsigned int, tree_node*, int, tree_node**)
../../gcc-6.1.0/gcc/tree.c:11049
0xa3267f build_call_expr_loc(unsigned int, tree_node*, int, ...)
../../gcc-6.1.0/gcc/tree.c:11079
0x51c03b gimplify_variable_sized_compare
../../gcc-6.1.0/gcc/gimplify.c:4899
0x52abfb gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
../../gcc-6.1.0/gcc/gimplify.c:10978
0x53b4fb gimplify_modify_expr
../../gcc-6.1.0/gcc/gimplify.c:4725
0x527843 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
../../gcc-6.1.0/gcc/gimplify.c:10281
0x52bdc3 gimplify_stmt(tree_node**, gimple**)
../../gcc-6.1.0/gcc/gimplify.c:5688
0x5284a3 gimplify_and_add(tree_node*, gimple**)
../../gcc-6.1.0/gcc/gimplify.c:425
0x5284a3 gimplify_return_expr
../../gcc-6.1.0/gcc/gimplify.c:1359
0x5284a3 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
../../gcc-6.1.0/gcc/gimplify.c:10530
0x52bdc3 gimplify_stmt(tree_node**, gimple**)
../../gcc-6.1.0/gcc/gimplify.c:5688
0x528507 gimplify_statement_list
../../gcc-6.1.0/gcc/gimplify.c:1537
0x528507 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
../../gcc-6.1.0/gcc/gimplify.c:10698
-----------------------------------------
--
You are receiving this mail because:
You are watching all bug changes.
More information about the D.gnu
mailing list