From: Jakub Jelinek Date: Thu, 24 Oct 2019 22:27:10 +0000 (+0200) Subject: arc.c (hwloop_optimize): Add missing space in string literal. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f8cb8bcde13df2f2b1a996567c849ec512eec210;p=gcc.git arc.c (hwloop_optimize): Add missing space in string literal. * config/arc/arc.c (hwloop_optimize): Add missing space in string literal. * config/rx/rx.c (rx_print_operand): Likewise. * tree-vect-data-refs.c (vect_analyze_data_refs): Likewise. * tree-ssa-loop-ch.c (should_duplicate_loop_header_p): Likewise. * ipa-sra.c (create_parameter_descriptors, process_scan_results): Likewise. * genemit.c (emit_c_code): Likewise. * plugin.c (try_init_one_plugin): Likewise. Formatting fix. cp/ * call.c (convert_arg_to_ellipsis): Add missing space in string literal. From-SVN: r277426 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3fac6bac147..9d199750036 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,15 @@ +2019-10-24 Jakub Jelinek + + * config/arc/arc.c (hwloop_optimize): Add missing space in string + literal. + * config/rx/rx.c (rx_print_operand): Likewise. + * tree-vect-data-refs.c (vect_analyze_data_refs): Likewise. + * tree-ssa-loop-ch.c (should_duplicate_loop_header_p): Likewise. + * ipa-sra.c (create_parameter_descriptors, process_scan_results): + Likewise. + * genemit.c (emit_c_code): Likewise. + * plugin.c (try_init_one_plugin): Likewise. Formatting fix. + 2019-10-24 Jan Hubicka * symbols-summary.h (fast_function_summary::release, diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c index 0b5d3fd7e26..138c84ec5aa 100644 --- a/gcc/config/arc/arc.c +++ b/gcc/config/arc/arc.c @@ -8001,7 +8001,7 @@ hwloop_optimize (hwloop_info loop) return false; } if (dump_file) - fprintf (dump_file, ";; loop %d has a control like last insn;" + fprintf (dump_file, ";; loop %d has a control like last insn; " "add a nop\n", loop->loop_no); @@ -8011,7 +8011,7 @@ hwloop_optimize (hwloop_info loop) if (LABEL_P (last_insn)) { if (dump_file) - fprintf (dump_file, ";; loop %d has a label as last insn;" + fprintf (dump_file, ";; loop %d has a label as last insn; " "add a nop\n", loop->loop_no); last_insn = emit_insn_after (gen_nopv (), last_insn); @@ -8038,7 +8038,7 @@ hwloop_optimize (hwloop_info loop) if (entry_edge == NULL) { if (dump_file) - fprintf (dump_file, ";; loop %d has no fallthru edge jumping" + fprintf (dump_file, ";; loop %d has no fallthru edge jumping " "into the loop\n", loop->loop_no); return false; diff --git a/gcc/config/rx/rx.c b/gcc/config/rx/rx.c index c7ce19c1fc0..931205c9232 100644 --- a/gcc/config/rx/rx.c +++ b/gcc/config/rx/rx.c @@ -649,7 +649,7 @@ rx_print_operand (FILE * file, rtx op, int letter) case CTRLREG_INTB: fprintf (file, "intb"); break; default: warning (0, "unrecognized control register number: %d" - "- using %", (int) INTVAL (op)); + " - using %", (int) INTVAL (op)); fprintf (file, "psw"); break; } diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 35904186fd1..33420f1289d 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2019-10-24 Jakub Jelinek + + * call.c (convert_arg_to_ellipsis): Add missing space in string + literal. + 2019-10-24 Marek Polacek * decl.c (reshape_init_r): Add missing space. diff --git a/gcc/cp/call.c b/gcc/cp/call.c index 55d2abaaddd..cbd1fe8a0a4 100644 --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -7590,7 +7590,7 @@ convert_arg_to_ellipsis (tree arg, tsubst_flags_t complain) && TYPE_MODE (TREE_TYPE (prom)) != TYPE_MODE (arg_type) && (complain & tf_warning)) warning_at (loc, OPT_Wabi, "scoped enum %qT passed through %<...%>" - "as %qT before %<-fabi-version=6%>, %qT after", + " as %qT before %<-fabi-version=6%>, %qT after", arg_type, TREE_TYPE (prom), ENUM_UNDERLYING_TYPE (arg_type)); if (!abi_version_at_least (6)) diff --git a/gcc/genemit.c b/gcc/genemit.c index 73ed3231cf6..d590f8d26dd 100644 --- a/gcc/genemit.c +++ b/gcc/genemit.c @@ -305,7 +305,7 @@ emit_c_code (const char *code, bool can_fail_p, const char *name) else printf ("#define FAIL _Pragma (\"GCC error \\\"%s cannot FAIL\\\"\")" " (void)0\n", name); - printf ("#define DONE return (_val = get_insns ()," + printf ("#define DONE return (_val = get_insns (), " "end_sequence (), _val)\n"); rtx_reader_ptr->print_md_ptr_loc (code); diff --git a/gcc/ipa-sra.c b/gcc/ipa-sra.c index 50dee69e3db..836db401588 100644 --- a/gcc/ipa-sra.c +++ b/gcc/ipa-sra.c @@ -1137,8 +1137,8 @@ create_parameter_descriptors (cgraph_node *node, && TYPE_NONALIASED_COMPONENT (type)) { if (dump_file && (dump_flags & TDF_DETAILS)) - fprintf (dump_file, " not a candidate, reference to a" - "nonaliased component array\n"); + fprintf (dump_file, " not a candidate, reference to " + "a nonaliased component array\n"); continue; } if (!is_gimple_reg (parm)) @@ -2284,8 +2284,8 @@ process_scan_results (cgraph_node *node, struct function *fun, if (nonarg_acc_size > param_size_limit || (!desc->by_ref && nonarg_acc_size == param_size_limit)) { - disqualify_split_candidate (desc, "Would result into a too big set of" - "replacements."); + disqualify_split_candidate (desc, "Would result into a too big set " + "of replacements."); } else { diff --git a/gcc/plugin.c b/gcc/plugin.c index a9d3171ecb3..8ea08ab8a67 100644 --- a/gcc/plugin.c +++ b/gcc/plugin.c @@ -712,10 +712,10 @@ try_init_one_plugin (struct plugin_name_args *plugin) if (dlsym (dl_handle, str_license) == NULL) fatal_error (input_location, "plugin %s is not licensed under a GPL-compatible license" - "%s", plugin->full_name, dlerror ()); + " %s", plugin->full_name, dlerror ()); - PTR_UNION_AS_VOID_PTR (plugin_init_union) = - dlsym (dl_handle, str_plugin_init_func_name); + PTR_UNION_AS_VOID_PTR (plugin_init_union) + = dlsym (dl_handle, str_plugin_init_func_name); plugin_init = PTR_UNION_AS_CAST_PTR (plugin_init_union); if ((err = dlerror ()) != NULL) diff --git a/gcc/tree-ssa-loop-ch.c b/gcc/tree-ssa-loop-ch.c index d92d7c85690..5a30a296d5e 100644 --- a/gcc/tree-ssa-loop-ch.c +++ b/gcc/tree-ssa-loop-ch.c @@ -199,7 +199,7 @@ should_duplicate_loop_header_p (basic_block header, class loop *loop, if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, " Not duplicating bb %i: condition based on non-IV loop" - "variant.\n", header->index); + " variant.\n", header->index); return false; } diff --git a/gcc/tree-vect-data-refs.c b/gcc/tree-vect-data-refs.c index 987dc0ee177..9dd18d26536 100644 --- a/gcc/tree-vect-data-refs.c +++ b/gcc/tree-vect-data-refs.c @@ -4282,7 +4282,7 @@ vect_analyze_data_refs (vec_info *vinfo, poly_uint64 *min_vf, bool *fatal) { if (nested_in_vect_loop_p (loop, stmt_info)) return opt_result::failure_at (stmt_info->stmt, - "not vectorized:" + "not vectorized: " "not suitable for strided load %G", stmt_info->stmt); STMT_VINFO_STRIDED_P (stmt_info) = true;