Hi!

On Wed, May 29, 2019 at 06:41:57PM -0700, Jerry DeLisle wrote:
> Just a typo:
> 
> > +Disallow tail call optimization when a calling routine may have omitted
> character lenghts.
> 
> s/lenghts/lengths

Thanks.  Found similar typo in tree-predcom.c (and in old ChangeLog entries
that I'm not going to change).  Fixed thusly, committed as obvious
to trunk and 9/8 branches.

2019-05-30  Jakub Jelinek  <ja...@redhat.com>

        * 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.

--- gcc/tree-predcom.c.jj       2019-02-01 09:34:50.173636370 +0100
+++ gcc/tree-predcom.c  2019-05-30 11:28:17.949976960 +0200
@@ -1713,7 +1713,7 @@ is_inv_store_elimination_chain (struct l
 
   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
--- gcc/fortran/lang.opt.jj     2019-05-29 16:08:33.840751724 +0200
+++ gcc/fortran/lang.opt        2019-05-30 11:28:41.221594732 +0200
@@ -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)


        Jakub

Reply via email to