diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2017-09-19 17:50:46 +0200 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2017-09-19 17:50:46 +0200 |
commit | 9f0b8c7b4b4fc8c2f042f8dc3443a5bd2ef14b2d (patch) | |
tree | a5b602d5419c3534e6339cd1874a5e57fabde926 /gcc | |
parent | c4b06e7f1de6dff6a4c087bcf554451e9887d0f3 (diff) | |
download | gcc-9f0b8c7b4b4fc8c2f042f8dc3443a5bd2ef14b2d.zip gcc-9f0b8c7b4b4fc8c2f042f8dc3443a5bd2ef14b2d.tar.gz gcc-9f0b8c7b4b4fc8c2f042f8dc3443a5bd2ef14b2d.tar.bz2 |
Fix typo in simplify_binary_operation_1
* simplify-rtx.c (simplify_binary_operation_1): Fix typo in comment.
From-SVN: r252979
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/simplify-rtx.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e08ae4c..ec3616d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 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; |