diff options
author | Jakub Jelinek <jakub@redhat.com> | 2019-05-30 11:33:20 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2019-05-30 11:33:20 +0200 |
commit | 02fac2442eaa64ef390fc1e496b0ab5c9b434a96 (patch) | |
tree | 6bd3b586cdc5160144425305ade03776ae58d66b | |
parent | a7155c2e0b061212722faf5744cb3781e9a18aa3 (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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/fortran/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/fortran/lang.opt | 2 | ||||
-rw-r--r-- | gcc/tree-predcom.c | 2 |
4 files changed, 11 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ecbb87f4174..57533478f71 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-05-30 Jakub Jelinek <jakub@redhat.com> + + * tree-predcom.c (is_inv_store_elimination_chain): Fix a typo - lenght + to length. + 2019-05-30 Martin Liska <mliska@suse.cz> * gdbinit.in: Fix 'ptc' command. Add trt diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 4c126b7fa7a..ddc6180fdb7 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,7 @@ +2019-05-30 Jakub Jelinek <jakub@redhat.com> + + * lang.opt (ftail-call-workaround=): Fix a typo - lenghts to lengths. + 2019-05-29 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/90539 diff --git a/gcc/fortran/lang.opt b/gcc/fortran/lang.opt index 8b2e1ad3424..b0d31ce20bb 100644 --- a/gcc/fortran/lang.opt +++ b/gcc/fortran/lang.opt @@ -767,7 +767,7 @@ Frotran Alias(ftail-call-workaround=,1,0) ftail-call-workaround= Fortran RejectNegative Joined UInteger IntegerRange(0, 2) Var(flag_tail_call_workaround) Init(1) -Disallow tail call optimization when a calling routine may have omitted character lenghts. +Disallow tail call optimization when a calling routine may have omitted character lengths. funderscoring Fortran Var(flag_underscoring) Init(1) 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 |