+2018-03-16 Jakub Jelinek <jakub@redhat.com>
+
+ PR c/84909
+ * hsa-gen.c (mem_type_for_type): Fix comment typo.
+ * tree-vect-loop-manip.c (vect_create_cond_for_niters_checks):
+ Likewise.
+ * gimple-ssa-warn-restrict.c (builtin_memref::set_base_and_offset):
+ Likewise.
+
2018-03-16 Vladimir Makarov <vmakarov@redhat.com>
PR target/84876
2018-03-16 Jakub Jelinek <jakub@redhat.com>
+ PR c/84909
+ * c-warn.c (conversion_warning): Replace "to to" with "to" in
+ diagnostics.
+
PR c/84910
* c-warn.c (diagnose_mismatched_attributes): Remove trailing space from
diagnostics.
conversion_kind = unsafe_conversion_p (loc, type, expr, result, true);
if (conversion_kind == UNSAFE_IMAGINARY)
warning_at (loc, OPT_Wconversion,
- "conversion from %qT to to %qT discards imaginary "
- "component",
+ "conversion from %qT to %qT discards imaginary component",
expr_type, type);
else
{
poly_int64 bytepos = exact_div (bitpos, BITS_PER_UNIT);
- /* Convert the poly_int64 offset to to offset_int. The offset
+ /* Convert the poly_int64 offset to offset_int. The offset
should be constant but be prepared for it not to be just in
case. */
offset_int cstoff;
/* HSA has non-intuitive constraints on load/store types. If it's
a bit-type it _must_ be B128, if it's not a bit-type it must be
64bit max. So for loading entities of 128 bits (e.g. vectors)
- we have to to B128, while for loading the rest we have to use the
+ we have to use B128, while for loading the rest we have to use the
input type (??? or maybe also flattened to a equally sized non-vector
unsigned type?). */
if ((type & BRIG_TYPE_PACK_MASK) == BRIG_TYPE_PACK_128)
/* Function vect_create_cond_for_niters_checks.
Create a conditional expression that represents the run-time checks for
- loop's niter. The loop is guaranteed to to terminate if the run-time
+ loop's niter. The loop is guaranteed to terminate if the run-time
checks hold.
Input: