diff mbox series

Fix typo in simplify_binary_operation_1

Message ID dca7080b3c0f40c0db3414738a6256cfdc52c152.1505835759.git.segher@kernel.crashing.org
State New
Headers show
Series Fix typo in simplify_binary_operation_1 | expand

Commit Message

Segher Boessenkool Sept. 19, 2017, 3:51 p.m. UTC
I noticed this typo while working on PR77729.  Trivial, obvious, and
committed.


Segher


2017-09-17  Segher Boessenkool  <segher@kernel.crashing.org>

	* simplify-rtx.c (simplify_binary_operation_1): Fix typo in comment.

---
 gcc/simplify-rtx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c
index 97a0652..1b960b9 100644
--- a/gcc/simplify-rtx.c
+++ b/gcc/simplify-rtx.c
@@ -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;