From: Jakub Jelinek Date: Mon, 13 Feb 2017 21:56:13 +0000 (+0100) Subject: cprop.c (cprop_jump): Add missing space in string literal. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aa326bfb90c7ad2bf16b9582dac7e3de102ca6c5;p=gcc.git cprop.c (cprop_jump): Add missing space in string literal. * cprop.c (cprop_jump): Add missing space in string literal. * tree-ssa-structalias.c (rewrite_constraints): Likewise. (get_constraint_for_component_ref): Likewise. * df-core.c (df_worklist_dataflow_doublequeue): Likewise. * tree-outof-ssa.c (insert_partition_copy_on_edge): Likewise. * lra-constraints.c (process_alt_operands): Likewise. * ipa-inline.c (inline_small_functions): Likewise. * tree-ssa-sccvn.c (visit_reference_op_store): Likewise. * cgraph.c (cgraph_edge::redirect_call_stmt_to_callee): Likewise. * trans-mem.c (diagnose_tm_1_op): Likewise. * omp-grid.c (grid_find_single_omp_among_assignments): Likewise. (grid_parallel_clauses_gridifiable): Likewise. c/ * c-parser.c (c_parser_oacc_declare): Add missing space in diagnostics. fortran/ * trans-expr.c (gfc_conv_substring): Add missing space in diagnostics. From-SVN: r245409 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1bdf16395f8..b6be5d81645 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,18 @@ 2017-02-13 Jakub Jelinek + * cprop.c (cprop_jump): Add missing space in string literal. + * tree-ssa-structalias.c (rewrite_constraints): Likewise. + (get_constraint_for_component_ref): Likewise. + * df-core.c (df_worklist_dataflow_doublequeue): Likewise. + * tree-outof-ssa.c (insert_partition_copy_on_edge): Likewise. + * lra-constraints.c (process_alt_operands): Likewise. + * ipa-inline.c (inline_small_functions): Likewise. + * tree-ssa-sccvn.c (visit_reference_op_store): Likewise. + * cgraph.c (cgraph_edge::redirect_call_stmt_to_callee): Likewise. + * trans-mem.c (diagnose_tm_1_op): Likewise. + * omp-grid.c (grid_find_single_omp_among_assignments): Likewise. + (grid_parallel_clauses_gridifiable): Likewise. + * config/nvptx/mkoffload.c (process): Add space in between , and %d. diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 71012caa4fe..3fe285e873c 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,8 @@ +2017-02-13 Jakub Jelinek + + * c-parser.c (c_parser_oacc_declare): Add missing space in + diagnostics. + 2017-02-13 Prathamesh Kulkarni PR c/79478 diff --git a/gcc/c/c-parser.c b/gcc/c/c-parser.c index e29924bef6b..2297750fbab 100644 --- a/gcc/c/c-parser.c +++ b/gcc/c/c-parser.c @@ -13817,7 +13817,7 @@ c_parser_oacc_declare (c_parser *parser) || !DECL_EXTERNAL (decl))) { error_at (loc, - "%qD must be a global variable in" + "%qD must be a global variable in " "%<#pragma acc declare link%>", decl); error = true; diff --git a/gcc/cgraph.c b/gcc/cgraph.c index f2f763e31b3..839388496ee 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -1314,7 +1314,7 @@ cgraph_edge::redirect_call_stmt_to_callee (void) { if (dump_file) fprintf (dump_file, - "Expanding speculative call of %s/%i -> %s/%i count:" + "Expanding speculative call of %s/%i -> %s/%i count: " "%" PRId64"\n", xstrdup_for_dump (e->caller->name ()), e->caller->order, diff --git a/gcc/cprop.c b/gcc/cprop.c index e315e53b695..7d20c4434b6 100644 --- a/gcc/cprop.c +++ b/gcc/cprop.c @@ -972,7 +972,7 @@ cprop_jump (basic_block bb, rtx_insn *setcc, rtx_insn *jump, rtx from, rtx src) if (dump_file != NULL) { fprintf (dump_file, - "GLOBAL CONST-PROP: Replacing reg %d in jump_insn %d with" + "GLOBAL CONST-PROP: Replacing reg %d in jump_insn %d with " "constant ", REGNO (from), INSN_UID (jump)); print_rtl (dump_file, src); fprintf (dump_file, "\n"); diff --git a/gcc/df-core.c b/gcc/df-core.c index fc57f1641f8..19f4d3dae8c 100644 --- a/gcc/df-core.c +++ b/gcc/df-core.c @@ -1064,7 +1064,7 @@ df_worklist_dataflow_doublequeue (struct dataflow *dataflow, /* Dump statistics. */ if (dump_file) fprintf (dump_file, "df_worklist_dataflow_doublequeue:" - "n_basic_blocks %d n_edges %d" + " n_basic_blocks %d n_edges %d" " count %d (%5.2g)\n", n_basic_blocks_for_fn (cfun), n_edges_for_fn (cfun), dcount, dcount / (float)n_basic_blocks_for_fn (cfun)); diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index dc5e50e9ab9..d9c269da6cf 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,7 @@ +2017-02-13 Jakub Jelinek + + * trans-expr.c (gfc_conv_substring): Add missing space in diagnostics. + 2017-02-12 Thomas Koenig PR fortran/65542 diff --git a/gcc/fortran/trans-expr.c b/gcc/fortran/trans-expr.c index 138af56e5d3..87bf069ffb6 100644 --- a/gcc/fortran/trans-expr.c +++ b/gcc/fortran/trans-expr.c @@ -2277,7 +2277,7 @@ gfc_conv_substring (gfc_se * se, gfc_ref * ref, int kind, msg = xasprintf ("Substring out of bounds: lower bound (%%ld) of '%s' " "is less than one", name); else - msg = xasprintf ("Substring out of bounds: lower bound (%%ld)" + msg = xasprintf ("Substring out of bounds: lower bound (%%ld) " "is less than one"); gfc_trans_runtime_check (true, false, fault, &se->pre, where, msg, fold_convert (long_integer_type_node, diff --git a/gcc/ipa-inline.c b/gcc/ipa-inline.c index d7ea38f364f..4843f8a2f8e 100644 --- a/gcc/ipa-inline.c +++ b/gcc/ipa-inline.c @@ -2052,7 +2052,7 @@ inline_small_functions (void) if (dump_file) { fprintf (dump_file, - " Inlined into %s which now has time %i and size %i," + " Inlined into %s which now has time %i and size %i, " "net change of %+i.\n", edge->caller->name (), inline_summaries->get (edge->caller)->time, diff --git a/gcc/lra-constraints.c b/gcc/lra-constraints.c index 22323b2d4df..585ca841aee 100644 --- a/gcc/lra-constraints.c +++ b/gcc/lra-constraints.c @@ -2848,7 +2848,7 @@ process_alt_operands (int only_alternative) if (lra_dump_file != NULL) fprintf (lra_dump_file, - " %d Matched conflict early clobber reloads:" + " %d Matched conflict early clobber reloads: " "reject--\n", i); reject--; diff --git a/gcc/omp-grid.c b/gcc/omp-grid.c index 127f5140902..a7b6f60aeaf 100644 --- a/gcc/omp-grid.c +++ b/gcc/omp-grid.c @@ -232,7 +232,7 @@ grid_find_single_omp_among_assignments (gimple_seq seq, grid_prop *grid, if (!ret && dump_enabled_p ()) dump_printf_loc (MSG_MISSED_OPTIMIZATION, grid->target_loc, GRID_MISSED_MSG_PREFIX "%s construct does not contain" - "any other OpenMP construct\n", name); + " any other OpenMP construct\n", name); return ret; } else @@ -309,7 +309,7 @@ grid_parallel_clauses_gridifiable (gomp_parallel *par, location_t tloc) if (dump_enabled_p ()) { dump_printf_loc (MSG_MISSED_OPTIMIZATION, tloc, - GRID_MISSED_MSG_PREFIX "a reduction clause" + GRID_MISSED_MSG_PREFIX "a reduction clause " "is present\n "); dump_printf_loc (MSG_NOTE, gimple_location (par), "Parallel construct has a reduction clause\n"); diff --git a/gcc/trans-mem.c b/gcc/trans-mem.c index 4e0478a35a7..9f559722c39 100644 --- a/gcc/trans-mem.c +++ b/gcc/trans-mem.c @@ -620,7 +620,7 @@ diagnose_tm_1_op (tree *tp, int *walk_subtrees, void *data) "invalid use of volatile lvalue inside transaction"); else if (d->func_flags & DIAG_TM_SAFE) error_at (gimple_location (d->stmt), - "invalid use of volatile lvalue inside %" + "invalid use of volatile lvalue inside % " "function"); } diff --git a/gcc/tree-outof-ssa.c b/gcc/tree-outof-ssa.c index 261a60f739d..0ce6c155bd3 100644 --- a/gcc/tree-outof-ssa.c +++ b/gcc/tree-outof-ssa.c @@ -242,7 +242,7 @@ insert_partition_copy_on_edge (edge e, int dest, int src, source_location locus) if (dump_file && (dump_flags & TDF_DETAILS)) { fprintf (dump_file, - "Inserting a partition copy on edge BB%d->BB%d :" + "Inserting a partition copy on edge BB%d->BB%d : " "PART.%d = PART.%d", e->src->index, e->dest->index, dest, src); diff --git a/gcc/tree-ssa-sccvn.c b/gcc/tree-ssa-sccvn.c index 8a9fff57e97..79532289443 100644 --- a/gcc/tree-ssa-sccvn.c +++ b/gcc/tree-ssa-sccvn.c @@ -3684,7 +3684,7 @@ visit_reference_op_store (tree lhs, tree op, gimple *stmt) number of the vuse it came from. */ if (dump_file && (dump_flags & TDF_DETAILS)) - fprintf (dump_file, "Store matched earlier value," + fprintf (dump_file, "Store matched earlier value, " "value numbering store vdefs to matching vuses.\n"); changed |= set_ssa_val_to (vdef, SSA_VAL (vuse)); diff --git a/gcc/tree-ssa-structalias.c b/gcc/tree-ssa-structalias.c index d51a5adf77c..390d5bba2fd 100644 --- a/gcc/tree-ssa-structalias.c +++ b/gcc/tree-ssa-structalias.c @@ -2564,7 +2564,7 @@ rewrite_constraints (constraint_graph_t graph, if (dump_file && (dump_flags & TDF_DETAILS)) { - fprintf (dump_file, "%s is a non-pointer variable," + fprintf (dump_file, "%s is a non-pointer variable, " "ignoring constraint:", get_varinfo (lhs.var)->name); dump_constraint (dump_file, c); @@ -2579,7 +2579,7 @@ rewrite_constraints (constraint_graph_t graph, if (dump_file && (dump_flags & TDF_DETAILS)) { - fprintf (dump_file, "%s is a non-pointer variable," + fprintf (dump_file, "%s is a non-pointer variable, " "ignoring constraint:", get_varinfo (rhs.var)->name); dump_constraint (dump_file, c); @@ -3295,7 +3295,7 @@ get_constraint_for_component_ref (tree t, vec *results, else if (bitmaxsize == 0) { if (dump_file && (dump_flags & TDF_DETAILS)) - fprintf (dump_file, "Access to zero-sized part of variable," + fprintf (dump_file, "Access to zero-sized part of variable, " "ignoring\n"); } else