On Tue, 9 Apr 2024, Jakub Jelinek wrote:
> Hi!
>
> Another patch from eyeballing
> git grep -v 'long long\|optab optab\|template template\|double double' | grep
> ' \([a-zA-Z]\+\) \1 '
> output, this time in gcc/ subdirectory.
>
> Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk?
OK.
> 2024-04-09 Jakub Jelinek
>
> gcc/
> * expr.cc (convert_mode_scalar): Fix duplicated words in comment;
> into into -> it into.
> * function.h (function::cond_uids): Fix duplicated words in comment;
> same same -> same.
> * config/riscv/riscv-vector-costs.cc
> (costs::adjust_vect_cost_per_loop): Fix duplicated words in comment;
> model model -> model.
> * config/riscv/riscv-vector-builtins-shapes.cc (build_base): Fix
> duplicated words in comment; for for -> for.
> * config/riscv/riscv-avlprop.cc (pass_avlprop::execute): Fix
> duplicated words in comment; more more -> more.
> * config/aarch64/driver-aarch64.cc (host_detect_local_cpu): Fix
> duplicated words in comment; be be -> be.
> * tree-profile.cc (masking_vectors): Fix duplicated words in comment;
> has has -> has, the the -> the.
> * value-range.cc (irange::set_range_from_bitmask): Fix duplicated
> words in comment; the the -> the.
> * gcov.cc (add_condition_counts): Fix duplicated words in comment;
> to to -> to.
> * vr-values.cc (get_scev_info): Fix duplicated words in comment;
> the the -> to the.
> * tree-vrp.cc (fully_replaceable): Fix duplicated words in comment;
> by by -> by.
> * mode-switching.cc (single_succ_confluence_n): Fix duplicated words
> in comment; the the -> the.
> * tree-ssa-phiopt.cc (value_replacement): Fix duplicated words in
> comment; can can -> we can.
> * gimple-range-phi.cc (phi_analyzer::process_phi): Fix duplicated words
> in comment; it it -> it is.
> * tree-ssa-sccvn.cc (visit_phi): Fix duplicated words in comment;
> to to -> to.
> * rtl-ssa/accesses.h (use_info::next_debug_insn_use): Fix duplicated
> words in comment; if if -> if.
> * doc/options.texi (InverseMask): Fix duplicated words; and and -> and.
> Change take to takes.
> * doc/invoke.texi (fanalyzer-undo-inlining): Fix duplicated words;
> be be -> be.
> (-minline-memops-threshold): Likewise.
> gcc/analyzer/
> * analyzer.opt (Wanalyzer-undefined-behavior-strtok): Fix duplicated
> words; in in -> in.
> * program-state.cc (sm_state_map::replay_call_summary): Fix duplicated
> words in comment; to to -> to.
> (program_state::replay_call_summary): Likewise.
> * region-model.cc (region_model::replay_call_summary): Likewise.
> gcc/c/
> * c-decl.cc (previous_tag): Fix duplicated words in comment; the the
> -> the.
> (diagnose_mismatched_decls): Fix duplicated words in comment;
> about about -> about.
> gcc/cp/
> * constexpr.cc (build_new_constexpr_heap_type): Fix duplicated words
> in comment; is is -> is.
> * cp-tree.def (CO_RETURN_EXPR): Fix duplicated words in comment;
> for for -> for.
> * parser.cc (fixup_blocks_walker): Fix duplicated words in comment;
> is is -> is.
> * semantics.cc (fixup_template_type): Fix duplicated words in comment;
> for for -> for.
> (finish_omp_for): Fix duplicated words in comment; the the -> the.
> * pt.cc (more_specialized_fn): Fix duplicated words in comment;
> think think -> think.
> (type_targs_deducible_from): Fix duplicated words in comment; the the
> -> the.
> gcc/jit/
> * docs/topics/expressions.rst (Constructor expressions): Fix
> duplicated words; have have -> have.
>
> --- gcc/expr.cc.jj2024-04-03 09:59:39.824857094 +0200
> +++ gcc/expr.cc 2024-04-08 17:29:19.130369705 +0200
> @@ -392,7 +392,7 @@ convert_mode_scalar (rtx to, rtx from, i
>BFmode -> SFmode -> HFmode conversion where SFmode
>has superset of BFmode values. We don't need
>to handle sNaNs by raising exception and turning
> - into into qNaN though, as that can be done in the
> + it into qNaN though, as that can be done in the
>SFmode -> HFmode conversion too. */
> rtx temp = gen_reg_rtx (SFmode);
> int save_flag_finite_math_only = flag_finite_math_only;
> --- gcc/function.h.jj 2024-04-05 09:19:48.129047220 +0200
> +++ gcc/function.h2024-04-08 17:28:26.920059518 +0200
> @@ -271,7 +271,7 @@ struct GTY(()) function {
>htab_t GTY((skip)) value_histograms;
>
>/* Annotated gconds so that basic conditions in the same expression map to
> - the same same uid. This is used for condition coverage. */
> + the same uid. This is used for condition coverage. */
>hash_map *GTY((skip)) cond_uids;
>
>/* For function.cc. */
> ---