Fix typo in simplify_binary_operation_1
authorSegher Boessenkool <segher@kernel.crashing.org>
Tue, 19 Sep 2017 15:50:46 +0000 (17:50 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Tue, 19 Sep 2017 15:50:46 +0000 (17:50 +0200)
* simplify-rtx.c (simplify_binary_operation_1): Fix typo in comment.

From-SVN: r252979

gcc/ChangeLog
gcc/simplify-rtx.c

index e08ae4c3f4aa90f85330b40596dcb6dec89c3a5a..ec3616d3b1dbe38d80c43225fdc952a70fbb8801 100644 (file)
@@ -1,3 +1,7 @@
+2017-09-17  Segher Boessenkool  <segher@kernel.crashing.org>
+
+       * simplify-rtx.c (simplify_binary_operation_1): Fix typo in comment.
+
 2017-09-18  Martin Sebor  <msebor@redhat.com>
 
        PR c/81854
index 97a06528271cda6fa42b2aa62ed097f3ce0261ac..1b960b91c0c47aadbb75b1407d10b304b7d66071 100644 (file)
@@ -2665,7 +2665,7 @@ simplify_binary_operation_1 (enum rtx_code code, machine_mode mode,
          HOST_WIDE_INT c1 = INTVAL (XEXP (op0, 1));
          HOST_WIDE_INT c2 = INTVAL (trueop1);
 
-         /* If (C1&C2) == C1, then (X&C1)|C2 becomes X.  */
+         /* If (C1&C2) == C1, then (X&C1)|C2 becomes C2.  */
          if ((c1 & c2) == c1
              && !side_effects_p (XEXP (op0, 0)))
            return trueop1;