aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-predcom.c
diff options
context:
space:
mode:
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 1870645..8e83a71 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