From: Jakub Jelinek Date: Thu, 30 May 2019 09:34:26 +0000 (+0200) Subject: tree-predcom.c (is_inv_store_elimination_chain): Fix a typo - lenght to length. X-Git-Tag: releases/gcc-9.2.0~289 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=396d2098ee17b6abc571914f4c52681e33fbb50c;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: r271771 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e42616647783..0b30f808027b 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 Iain Sandoe Backport from mainline. diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index f617e6ea6671..0369353b2de6 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 Jakub Jelinek PR fortran/90329 diff --git a/gcc/fortran/lang.opt b/gcc/fortran/lang.opt index 07d824c2570a..f2908a5c1fc9 100644 --- a/gcc/fortran/lang.opt +++ b/gcc/fortran/lang.opt @@ -763,7 +763,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