From 5f07d78a1377dec492ae6a8829d1d68c32d8ef0f Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Sat, 12 Jan 2019 17:55:45 +0100 Subject: [PATCH] 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 --- gcc/ChangeLog | 4 ++++ gcc/c/ChangeLog | 4 ++++ gcc/c/c-typeck.c | 2 +- gcc/tree-ssa-loop-ivopts.c | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 24174c118ba..73b2fd66dbf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2019-01-12 Jakub Jelinek + + * tree-ssa-loop-ivopts.c (find_inv_vars): Fix a comment typo. + 2019-01-12 Tom de Vries * config/nvptx/nvptx.c (nvptx_goacc_validate_dims_1): In offloading diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 7cffd900c27..167c78aeeb3 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,7 @@ +2019-01-12 Jakub Jelinek + + * c-typeck.c (convert_for_assignment): Fix a comment typo. + 2019-01-07 Jakub Jelinek PR c/88701 diff --git a/gcc/c/c-typeck.c b/gcc/c/c-typeck.c index 53e8feb988e..63d177f7a6f 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 af0c9816bf7..a4cf64e3a13 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, -- 2.30.2