Skip to content
This repository has been archived by the owner on Jun 20, 2019. It is now read-only.

Bug 223: [ARM] Fix ICE in operand_equal_p, at fold-const.c:2934 #205

Merged
merged 1 commit into from
May 15, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions gcc/d/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2016-05-15 Iain Buclaw <ibuclaw@gdcproject.org>

* expr.cc (ExprVisitor::visit(IdentityExp*)): Remove side-effects
before comparing two dynamic arrays.

2016-05-14 Iain Buclaw <ibuclaw@gdcproject.org>

* d-codegen.cc (get_decl_tree): First check if cfun is set.
Expand Down
2 changes: 2 additions & 0 deletions gcc/d/expr.cc
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ class ExprVisitor : public Visitor
{
// Convert arrays to D array types.
tree t1 = d_array_convert(e->e1);
t1 = maybe_make_temp(t1);
tree t2 = d_array_convert(e->e2);
t2 = maybe_make_temp(t2);
this->result_ = build2(code, build_ctype(e->type), t1, t2);
}
else if (tb1->isfloating())
Expand Down