aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2020-03-18 12:56:26 +0100
committerJakub Jelinek <jakub@redhat.com>2020-03-18 12:56:26 +0100
commitd5029d45940e8c12b425b4d1a23081b4155caa61 (patch)
treee04a027c2ab748c3ac851b7a6dcbadb4863a5c5f /gcc/fortran
parentd91480dee934478063fe5945b73ff3c108e40a91 (diff)
downloadgcc-d5029d45940e8c12b425b4d1a23081b4155caa61.zip
gcc-d5029d45940e8c12b425b4d1a23081b4155caa61.tar.gz
gcc-d5029d45940e8c12b425b4d1a23081b4155caa61.tar.bz2
Fix up duplicated duplicated words in comments
Another set of duplicated word fixes for things I've missed last time. These include e.g. *.cc files I forgot about, or duplicated words at the start or end of line. 2020-03-18 Jakub Jelinek <jakub@redhat.com> * asan.c (get_mem_refs_of_builtin_call): Fix up duplicated word issue in a comment. * config/arc/arc.c (frame_stack_add): Likewise. * gimple-loop-versioning.cc (loop_versioning::analyze_arbitrary_term): Likewise. * ipa-predicate.c (predicate::remap_after_inlining): Likewise. * tree-ssa-strlen.h (handle_printf_call): Likewise. * tree-ssa-strlen.c (is_strlen_related_p): Likewise. * optinfo-emit-json.cc (optrecord_json_writer::add_record): Likewise. analyzer/ * sm-malloc.cc (malloc_state_machine::on_stmt): Fix up duplicated word issue in a comment. * region-model.cc (region_model::make_region_for_unexpected_tree_code, region_model::delete_region_and_descendents): Likewise. * engine.cc (class exploded_cluster): Likewise. * diagnostic-manager.cc (class path_builder): Likewise. cp/ * constraint.cc (resolve_function_concept_check, subsumes_constraints, strictly_subsumes): Fix up duplicated word issue in a comment. * coroutines.cc (build_init_or_final_await, captures_temporary): Likewise. * logic.cc (dnf_size_r, cnf_size_r): Likewise. * pt.c (append_type_to_template_for_access_check): Likewise. d/ * expr.cc (ExprVisitor::visit (CatAssignExp *)): Fix up duplicated word issue in a comment. * d-target.cc (Target::FPTypeProperties<T>::max): Likewise. fortran/ * class.c (generate_finalization_wrapper): Fix up duplicated word issue in a comment. * trans-types.c (gfc_get_nodesc_array_type): Likewise.
Diffstat (limited to 'gcc/fortran')
-rw-r--r--gcc/fortran/ChangeLog6
-rw-r--r--gcc/fortran/class.c2
-rw-r--r--gcc/fortran/trans-types.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 99b13db..db79f05 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,9 @@
+2020-03-18 Jakub Jelinek <jakub@redhat.com>
+
+ * class.c (generate_finalization_wrapper): Fix up duplicated word
+ issue in a comment.
+ * trans-types.c (gfc_get_nodesc_array_type): Likewise.
+
2020-03-17 Jakub Jelinek <jakub@redhat.com>
* array.c (gfc_check_iter_variable): Fix up duplicated word issue
diff --git a/gcc/fortran/class.c b/gcc/fortran/class.c
index 45fd5cb..9aa3eb7 100644
--- a/gcc/fortran/class.c
+++ b/gcc/fortran/class.c
@@ -1574,7 +1574,7 @@ generate_finalization_wrapper (gfc_symbol *derived, gfc_namespace *ns,
}
/* No wrapper of the ancestor and no own FINAL subroutines and allocatable
- components: Return a NULL() expression; we defer this a bit to have have
+ components: Return a NULL() expression; we defer this a bit to have
an interface declaration. */
if ((!ancestor_wrapper || ancestor_wrapper->expr_type == EXPR_NULL)
&& !derived->attr.alloc_comp
diff --git a/gcc/fortran/trans-types.c b/gcc/fortran/trans-types.c
index 8a4c8ee..b7712dc 100644
--- a/gcc/fortran/trans-types.c
+++ b/gcc/fortran/trans-types.c
@@ -1595,7 +1595,7 @@ gfc_get_nodesc_array_type (tree etype, gfc_array_spec * as, gfc_packed packed,
mpz_init_set_ui (stride, 1);
mpz_init (delta);
- /* We don't use build_array_type because this does not include include
+ /* We don't use build_array_type because this does not include
lang-specific information (i.e. the bounds of the array) when checking
for duplicates. */
if (as->rank)