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.
+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.
+
2020-03-18 Duan bo <duanbo3@huawei.com>
PR target/94201
+2020-03-18 Jakub Jelinek <jakub@redhat.com>
+
+ * 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.
+
2020-03-13 David Malcolm <dmalcolm@redhat.com>
PR analyzer/94099
/* State for building a checker_path from a particular exploded_path.
In particular, this precomputes reachability information: the set of
- source enodes for which a a path be found to the diagnostic enode. */
+ source enodes for which a path be found to the diagnostic enode. */
class path_builder
{
cluster, each supernode gets its own cluster.
Hence all enodes relating to a particular function with a particular
- callstring will be be in a cluster together; all enodes for the same
+ callstring will be in a cluster together; all enodes for the same
function but with a different callstring will be in a different
cluster. */
}
}
-/* If we see a tree code we we don't know how to handle, rather than
+/* If we see a tree code we don't know how to handle, rather than
ICE or generate bogus results, create a dummy region, and notify
CTXT so that it can mark the new state as being not properly
modelled. The exploded graph can then stop exploring that path,
}
/* Delete RID and all descendent regions.
- Find any pointers to such regions; convert convert them to
+ Find any pointers to such regions; convert them to
poisoned values of kind PKIND.
Accumulate stats on purged entities into STATS. */
sm_ctxt->on_transition (node, stmt, arg, m_nonnull, m_freed);
/* Keep state "null" as-is, rather than transitioning to "free";
- we don't want want to complain about double-free of NULL. */
+ we don't want to complain about double-free of NULL. */
/* freed -> stop, with warning. */
sm_ctxt->warn_for_state (node, stmt, arg, m_freed,
handle_builtin_alloca (call, iter);
break;
/* And now the __atomic* and __sync builtins.
- These are handled differently from the classical memory memory
+ These are handled differently from the classical memory
access builtins above. */
case BUILT_IN_ATOMIC_LOAD_1:
register.
During compilation of a function the frame size is evaluated
- multiple times, it is not until the reload pass is complete the the
+ multiple times, it is not until the reload pass is complete the
frame size is considered fixed (it is at this point that space for
all spills has been allocated). However the frame_pointer_needed
variable is not set true until the register allocation pass, as a
2020-03-18 Jakub Jelinek <jakub@redhat.com>
+ * 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.
+
PR c++/91759
* decl.c (grokfndecl): Restore old diagnostics about deduction
guide declared in different scope if in_namespace is NULL_TREE.
return cands;
}
-/* Determine if the the call expression CALL is a constraint check, and
+/* Determine if the call expression CALL is a constraint check, and
return the concept declaration and arguments being checked. If CALL
does not denote a constraint check, return NULL. */
Partial ordering of constraints
---------------------------------------------------------------------------*/
-/* Returns true when the the constraints in A subsume those in B. */
+/* Returns true when the constraints in A subsume those in B. */
bool
subsumes_constraints (tree a, tree b)
return subsumes (a, b);
}
-/* Returns true when the the constraints in CI (with arguments
+/* Returns true when the constraints in CI (with arguments
ARGS) strictly subsume the associated constraints of TMPL. */
bool
return error_mark_node;
/* So build the co_await for this */
- /* For initial/final suspends the call is is "a" per [expr.await] 3.2. */
+ /* For initial/final suspends the call is "a" per [expr.await] 3.2. */
return build_co_await (loc, setup_call, (is_final ? FINAL_SUSPEND_POINT
: INITIAL_SUSPEND_POINT));
}
captures_temporary (tree *stmt, int *do_subtree, void *d)
{
/* Stop recursing if we see an await expression, the subtrees
- of that will be handled when it it processed. */
+ of that will be handled when it is processed. */
if (TREE_CODE (*stmt) == CO_AWAIT_EXPR || TREE_CODE (*stmt) == CO_YIELD_EXPR)
{
*do_subtree = 0;
/* Recursively count the number of clauses produced when converting T
to DNF. Returns a pair containing the number of clauses and a bool
- value signifying that the the tree would be rewritten as a result of
+ value signifying that the tree would be rewritten as a result of
distributing. In general, a conjunction for which this flag is set
is considered a disjunction for the purpose of counting. */
/* Matches constraints of the form P /\ Q, possibly resulting
in the distribution of one side over the other. When both
P and Q are disjunctions, the number of clauses are multiplied.
- When only one of P and Q is a disjunction, the the number of
+ When only one of P and Q is a disjunction, the number of
clauses are added. Otherwise, neither side is a disjunction and
no clauses are created. */
if (disjunction_p (lhs))
/* Recursively count the number of clauses produced when converting T
to CNF. Returns a pair containing the number of clauses and a bool
- value signifying that the the tree would be rewritten as a result of
+ value signifying that the tree would be rewritten as a result of
distributing. In general, a disjunction for which this flag is set
is considered a conjunction for the purpose of counting. */
/* Matches constraints of the form P \/ Q, possibly resulting
in the distribution of one side over the other. When both
P and Q are conjunctions, the number of clauses are multiplied.
- When only one of P and Q is a conjunction, the the number of
+ When only one of P and Q is a conjunction, the number of
clauses are added. Otherwise, neither side is a conjunction and
no clauses are created. */
if (disjunction_p (lhs))
}
/* Append TYPE_DECL to the template TEMPL.
- TEMPL is either a class type, a FUNCTION_DECL or a a TEMPLATE_DECL.
+ TEMPL is either a class type, a FUNCTION_DECL or a TEMPLATE_DECL.
At TEMPL instanciation time, TYPE_DECL will be checked to see
if it can be accessed through SCOPE.
LOCATION is the location of the usage point of TYPE_DECL.
+2020-03-18 Jakub Jelinek <jakub@redhat.com>
+
+ * expr.cc (ExprVisitor::visit (CatAssignExp *)): Fix up duplicated
+ word issue in a comment.
+ * d-target.cc (Target::FPTypeProperties<T>::max): Likewise.
+
2020-03-16 Iain Buclaw <ibuclaw@gdcproject.org>
PR d/92309
int Target::classinfosize;
unsigned long long Target::maxStaticDataSize;
-/* Floating-point constants for for .max, .min, and other properties. */
+/* Floating-point constants for .max, .min, and other properties. */
template <typename T> real_t Target::FPTypeProperties<T>::max;
template <typename T> real_t Target::FPTypeProperties<T>::min_normal;
template <typename T> real_t Target::FPTypeProperties<T>::nan;
}
/* Build a concat assignment expression. The right operand is appended
- to the the left operand. */
+ to the left operand. */
void visit (CatAssignExp *e)
{
+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
}
/* 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
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)
where nothing in the way "x" and "y" are set gives a hint as to
whether "i" iterates over the innermost dimension of the array.
- In these situations it seems reasonable to assume the the
+ In these situations it seems reasonable to assume the
programmer has nested the loops appropriately (although of course
there are examples like GEMM in which this assumption doesn't hold
for all accesses in the loop).
is summary of function predicate P is from. OPERAND_MAP is array giving
callee formal IDs the caller formal IDs. POSSSIBLE_TRUTHS is clause of all
callee conditions that may be true in caller context. TOPLEV_PREDICATE is
- predicate under which callee is executed. OFFSET_MAP is an array of of
+ predicate under which callee is executed. OFFSET_MAP is an array of
offsets that need to be added to conditions, negative offset means that
conditions relying on values passed by reference have to be discarded
because they might not be preserved (and should be considered offset zero
/* Private methods of optrecord_json_writer. */
-/* Add record OBJ to the the innermost scope. */
+/* Add record OBJ to the innermost scope. */
void
optrecord_json_writer::add_record (json::object *obj)
/* Return true if LEN depends on a call to strlen(SRC) in an interesting
way. LEN can either be an integer expression, or a pointer (to char).
- When it is the latter (such as in recursive calls to self) is is
+ When it is the latter (such as in recursive calls to self) it is
assumed to be the argument in some call to strlen() whose relationship
to SRC is being ascertained. */
struct c_strlen_data;
extern void get_range_strlen_dynamic (tree , c_strlen_data *, const vr_values *);
-/* APIs internal to strlen pass. Defined in in gimple-ssa-sprintf.c. */
+/* APIs internal to strlen pass. Defined in gimple-ssa-sprintf.c. */
extern bool handle_printf_call (gimple_stmt_iterator *, const vr_values *);
#endif // GCC_TREE_SSA_STRLEN_H