aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/c/ChangeLog4
-rw-r--r--gcc/c/c-typeck.c2
-rw-r--r--gcc/tree-ssa-loop-ivopts.c2
4 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 24174c1..73b2fd6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2019-01-12 Jakub Jelinek <jakub@redhat.com>
+
+ * tree-ssa-loop-ivopts.c (find_inv_vars): Fix a comment typo.
+
2019-01-12 Tom de Vries <tdevries@suse.de>
* config/nvptx/nvptx.c (nvptx_goacc_validate_dims_1): In offloading
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index 7cffd90..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);
diff --git a/gcc/tree-ssa-loop-ivopts.c b/gcc/tree-ssa-loop-ivopts.c
index af0c981..a4cf64e 100644
--- a/gcc/tree-ssa-loop-ivopts.c
+++ b/gcc/tree-ssa-loop-ivopts.c
@@ -3037,7 +3037,7 @@ find_inv_vars (struct ivopts_data *data, tree *expr_p, bitmap *inv_vars)
It's hard to make decision whether constant part should be stripped
or not. We choose to not strip based on below facts:
1) We need to count ADD cost for constant part if it's stripped,
- which is't always trivial where this functions is called.
+ which isn't always trivial where this functions is called.
2) Stripping constant away may be conflict with following loop
invariant hoisting pass.
3) Not stripping constant away results in more invariant exprs,