fix reassoc cut&pasto
for gcc/ChangeLog * tree-ssa-reassoc.c (is_reassociable_op): Fix cut&pasto. From-SVN: r263759
This commit is contained in:
parent
ecd0638398
commit
141f2b50ce
@ -1,3 +1,7 @@
|
||||
2018-08-22 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
* tree-ssa-reassoc.c (is_reassociable_op): Fix cut&pasto.
|
||||
|
||||
2018-08-21 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
PR c++/86981, Implement -Wpessimizing-move.
|
||||
|
@ -618,7 +618,7 @@ is_reassociable_op (gimple *stmt, enum tree_code code, struct loop *loop)
|
||||
&& has_single_use (gimple_assign_lhs (stmt)))
|
||||
{
|
||||
tree rhs1 = gimple_assign_rhs1 (stmt);
|
||||
tree rhs2 = gimple_assign_rhs1 (stmt);
|
||||
tree rhs2 = gimple_assign_rhs2 (stmt);
|
||||
if (TREE_CODE (rhs1) == SSA_NAME
|
||||
&& SSA_NAME_OCCURS_IN_ABNORMAL_PHI (rhs1))
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user