mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
bbf18dc5d2
commit
5f07d78a13
|
|
@ -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>
|
2019-01-12 Tom de Vries <tdevries@suse.de>
|
||||||
|
|
||||||
* config/nvptx/nvptx.c (nvptx_goacc_validate_dims_1): In offloading
|
* config/nvptx/nvptx.c (nvptx_goacc_validate_dims_1): In offloading
|
||||||
|
|
|
||||||
|
|
@ -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>
|
2019-01-07 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
PR c/88701
|
PR c/88701
|
||||||
|
|
|
||||||
|
|
@ -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. */
|
struct or union. */
|
||||||
warn_for_address_or_pointer_of_packed_member
|
warn_for_address_or_pointer_of_packed_member
|
||||||
(TREE_CODE (orig_rhs) != ADDR_EXPR, type, orig_rhs);
|
(TREE_CODE (orig_rhs) != ADDR_EXPR, type, orig_rhs);
|
||||||
|
|
|
||||||
|
|
@ -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
|
It's hard to make decision whether constant part should be stripped
|
||||||
or not. We choose to not strip based on below facts:
|
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,
|
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
|
2) Stripping constant away may be conflict with following loop
|
||||||
invariant hoisting pass.
|
invariant hoisting pass.
|
||||||
3) Not stripping constant away results in more invariant exprs,
|
3) Not stripping constant away results in more invariant exprs,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue