aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2019-01-12 17:55:45 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2019-01-12 17:55:45 +0100
commit5f07d78a1377dec492ae6a8829d1d68c32d8ef0f (patch)
tree20d0c685962437e8b368a71862f20f29b9131269 /gcc/c
parentbbf18dc5d248a79a20ebf4b3a751669cd75485fd (diff)
downloadgcc-5f07d78a1377dec492ae6a8829d1d68c32d8ef0f.zip
gcc-5f07d78a1377dec492ae6a8829d1d68c32d8ef0f.tar.gz
gcc-5f07d78a1377dec492ae6a8829d1d68c32d8ef0f.tar.bz2
tree-ssa-loop-ivopts.c (find_inv_vars): Fix a comment typo.
* tree-ssa-loop-ivopts.c (find_inv_vars): Fix a comment typo. * c-typeck.c (convert_for_assignment): Fix a comment typo. From-SVN: r267882
Diffstat (limited to 'gcc/c')
-rw-r--r--gcc/c/ChangeLog4
-rw-r--r--gcc/c/c-typeck.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index 7cffd900..167c78a 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,7 @@
+2019-01-12 Jakub Jelinek <jakub@redhat.com>
+
+ * c-typeck.c (convert_for_assignment): Fix a comment typo.
+
2019-01-07 Jakub Jelinek <jakub@redhat.com>
PR c/88701
diff --git a/gcc/c/c-typeck.c b/gcc/c/c-typeck.c
index 53e8feb..63d177f 100644
--- a/gcc/c/c-typeck.c
+++ b/gcc/c/c-typeck.c
@@ -7283,7 +7283,7 @@ convert_for_assignment (location_t location, location_t expr_loc, tree type,
}
}
- /* If RHS is't an address, check pointer or array of packed
+ /* If RHS isn't an address, check pointer or array of packed
struct or union. */
warn_for_address_or_pointer_of_packed_member
(TREE_CODE (orig_rhs) != ADDR_EXPR, type, orig_rhs);