aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/fortran/ChangeLog4
-rw-r--r--gcc/fortran/lang.opt2
-rw-r--r--gcc/tree-predcom.c2
4 files changed, 11 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ecbb87f..5753347 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 4c126b7..ddc6180 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -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
diff --git a/gcc/fortran/lang.opt b/gcc/fortran/lang.opt
index 8b2e1ad..b0d31ce 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 1870645..8e83a71 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