From 02fac2442eaa64ef390fc1e496b0ab5c9b434a96 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 30 May 2019 11:33:20 +0200 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/fortran/ChangeLog | 4 ++++ gcc/fortran/lang.opt | 2 +- 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 + + * tree-predcom.c (is_inv_store_elimination_chain): Fix a typo - lenght + to length. + 2019-05-30 Martin Liska * 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 + + * lang.opt (ftail-call-workaround=): Fix a typo - lenghts to lengths. + 2019-05-29 Thomas Koenig 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 -- 2.30.2