aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-05-16 08:39:54 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-05-16 08:39:54 -0400
commit9faa82d8c081b9e38370b5a913825111d2166de6 (patch)
tree1e50640eecb618d0b3fa87607094528acb0add62 /gcc/fold-const.c
parentddd5a7c1808995545ad5befaa7320135e60b5d38 (diff)
downloadgcc-9faa82d8c081b9e38370b5a913825111d2166de6.zip
gcc-9faa82d8c081b9e38370b5a913825111d2166de6.tar.gz
gcc-9faa82d8c081b9e38370b5a913825111d2166de6.tar.bz2
Fix typos in comments.
From-SVN: r9712
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r--gcc/fold-const.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index 43ab364..c51b8cd 100644
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -2631,7 +2631,7 @@ unextend (c, p, unsignedp)
c = convert (signed_type (type), c);
/* We work by getting just the sign bit into the low-order bit, then
- into the high-order bit, then sign-extened. We then XOR that value
+ into the high-order bit, then sign-extend. We then XOR that value
with C. */
temp = const_binop (RSHIFT_EXPR, c, size_int (p - 1), 0);
temp = const_binop (BIT_AND_EXPR, temp, size_int (1), 0);
@@ -3277,7 +3277,7 @@ fold (expr)
succeed in folding one part to a constant, we do not need
to make this SAVE_EXPR. Since we do this optimization
primarily to see if we do end up with constant and this
- SAVE_EXPR interfers with later optimizations, suppressing
+ SAVE_EXPR interferes with later optimizations, suppressing
it when we can is important. */
if (TREE_CODE (arg0) != SAVE_EXPR