From 6fd31ec4ff735de168d4b05f8d288543da17f096 Mon Sep 17 00:00:00 2001 From: jakub Date: Sat, 12 Jan 2019 16:55:45 +0000 Subject: [PATCH] * tree-ssa-loop-ivopts.c (find_inv_vars): Fix a comment typo. * c-typeck.c (convert_for_assignment): Fix a comment typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@267882 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 24174c118ba7..73b2fd66dbf5 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 7cffd900c274..167c78aeeb3e 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 53e8feb988e8..63d177f7a6f4 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 af0c9816bf79..a4cf64e3a135 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.47.2