tree-predcom.c (is_inv_store_elimination_chain): Fix a typo - lenght to length.
authorJakub Jelinek <jakub@redhat.com>
Thu, 30 May 2019 09:33:20 +0000 (11:33 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 30 May 2019 09:33:20 +0000 (11:33 +0200)
* 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
gcc/fortran/ChangeLog
gcc/fortran/lang.opt
gcc/tree-predcom.c

index ecbb87f4174a739fe34dfbbc00b902dd745657fd..57533478f716ac54587c534afdd3481f90c15c05 100644 (file)
@@ -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
index 4c126b7fa7acf0afe8261e802efed5e0515a7a69..ddc6180fdb7169ba08080976251a7077b5b2b41e 100644 (file)
@@ -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
index 8b2e1ad3424b04691b3a0480f8a9200342e4df9e..b0d31ce20bb9d28e89cf4edf4dce25d3d65a04eb 100644 (file)
@@ -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)
index 1870645d66da5e8b5bdea79dba1b2aca7928e0fa..8e83a715a24da4aaa47108c4cc1b0186fc5fd9b8 100644 (file)
@@ -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