From: Kugan Vivekanandarajah Date: Mon, 30 May 2016 11:01:06 +0000 (+0000) Subject: tree-ssa-reassoc.c (swap_ops_for_binary_stmt): Fix typo from commit r236875. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5750980942ac1ed0ddb4b42c8089c522509eeca5;p=gcc.git tree-ssa-reassoc.c (swap_ops_for_binary_stmt): Fix typo from commit r236875. gcc/ChangeLog: 2016-05-30 Kugan Vivekanandarajah * tree-ssa-reassoc.c (swap_ops_for_binary_stmt): Fix typo from commit r236875. Corrected oe3 to oe2 as obvious. From-SVN: r236877 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e328b4112f3..4c3a0314490 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-05-30 Kugan Vivekanandarajah + + * tree-ssa-reassoc.ci (swap_ops_for_binary_stmt): Fix typo from commit + r236875. Corrected oe3 to oe2 as obvious. + 2016-05-30 Kugan Vivekanandarajah PR middle-end/71269 diff --git a/gcc/tree-ssa-reassoc.c b/gcc/tree-ssa-reassoc.c index 9c06ca03746..430bcc8eb40 100644 --- a/gcc/tree-ssa-reassoc.c +++ b/gcc/tree-ssa-reassoc.c @@ -3759,7 +3759,7 @@ swap_ops_for_binary_stmt (vec ops, || (stmt && is_phi_for_stmt (stmt, oe2->op) && !is_phi_for_stmt (stmt, oe1->op) && !is_phi_for_stmt (stmt, oe3->op))) - std::swap (*oe1, *oe3); + std::swap (*oe1, *oe2); } /* If definition of RHS1 or RHS2 dominates STMT, return the later of those