Skip to content

Commit 103be9b

Browse files
author
segher
committed
Fix typo in simplify_binary_operation_1
* simplify-rtx.c (simplify_binary_operation_1): Fix typo in comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@252979 138bc75d-0d04-0410-961f-82ee72b054a4
1 parent c52a6a5 commit 103be9b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

gcc/ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2017-09-17 Segher Boessenkool <[email protected]>
2+
3+
* simplify-rtx.c (simplify_binary_operation_1): Fix typo in comment.
4+
15
2017-09-18 Martin Sebor <[email protected]>
26

37
PR c/81854

gcc/simplify-rtx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2665,7 +2665,7 @@ simplify_binary_operation_1 (enum rtx_code code, machine_mode mode,
26652665
HOST_WIDE_INT c1 = INTVAL (XEXP (op0, 1));
26662666
HOST_WIDE_INT c2 = INTVAL (trueop1);
26672667

2668-
/* If (C1&C2) == C1, then (X&C1)|C2 becomes X. */
2668+
/* If (C1&C2) == C1, then (X&C1)|C2 becomes C2. */
26692669
if ((c1 & c2) == c1
26702670
&& !side_effects_p (XEXP (op0, 0)))
26712671
return trueop1;

0 commit comments

Comments
 (0)