From: Jakub Jelinek Date: Thu, 30 May 2019 09:33:20 +0000 (+0200) Subject: tree-predcom.c (is_inv_store_elimination_chain): Fix a typo - lenght to length. X-Git-Tag: misc/cutover-git~5160 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=02fac2442eaa64ef390fc1e496b0ab5c9b434a96;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ecbb87f4174a..57533478f716 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 4c126b7fa7ac..ddc6180fdb71 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 8b2e1ad3424b..b0d31ce20bb9 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 1870645d66da..8e83a715a24d 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