for gcc/ChangeLog
* tree-ssa-reassoc.c (is_reassociable_op): Fix cut&pasto.
From-SVN: r263759
+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.
&& 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;