summaryrefslogtreecommitdiff
path: root/gcc/tree-predcom.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2019-05-30 11:33:20 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2019-05-30 11:33:20 +0200
commit02fac2442eaa64ef390fc1e496b0ab5c9b434a96 (patch)
tree6bd3b586cdc5160144425305ade03776ae58d66b /gcc/tree-predcom.c
parenta7155c2e0b061212722faf5744cb3781e9a18aa3 (diff)
tree-predcom.c (is_inv_store_elimination_chain): Fix a typo - lenght to length.
* tree-predcom.c (is_inv_store_elimination_chain): Fix a typo - lenght to length. * lang.opt (ftail-call-workaround=): Fix a typo - lenghts to lengths. From-SVN: r271770
Diffstat (limited to 'gcc/tree-predcom.c')
-rw-r--r--gcc/tree-predcom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-predcom.c b/gcc/tree-predcom.c
index 1870645d66d..8e83a715a24 100644
--- a/gcc/tree-predcom.c
+++ b/gcc/tree-predcom.c
@@ -1713,7 +1713,7 @@ is_inv_store_elimination_chain (struct loop *loop, chain_p chain)
gcc_assert (!chain->has_max_use_after);
- /* If loop iterates for unknown times or fewer times than chain->lenght,
+ /* If loop iterates for unknown times or fewer times than chain->length,
we still need to setup root variable and propagate it with PHI node. */
tree niters = number_of_latch_executions (loop);
if (TREE_CODE (niters) != INTEGER_CST