cprop.c (cprop_jump): Add missing space in string literal.
authorJakub Jelinek <jakub@redhat.com>
Mon, 13 Feb 2017 21:56:13 +0000 (22:56 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 13 Feb 2017 21:56:13 +0000 (22:56 +0100)
* 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

15 files changed:
gcc/ChangeLog
gcc/c/ChangeLog
gcc/c/c-parser.c
gcc/cgraph.c
gcc/cprop.c
gcc/df-core.c
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/ipa-inline.c
gcc/lra-constraints.c
gcc/omp-grid.c
gcc/trans-mem.c
gcc/tree-outof-ssa.c
gcc/tree-ssa-sccvn.c
gcc/tree-ssa-structalias.c

index 1bdf163..b6be5d8 100644 (file)
@@ -1,5 +1,18 @@
 2017-02-13  Jakub Jelinek  <jakub@redhat.com>
 
+       * 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.
 
index 71012ca..3fe285e 100644 (file)
@@ -1,3 +1,8 @@
+2017-02-13  Jakub Jelinek  <jakub@redhat.com>
+
+       * c-parser.c (c_parser_oacc_declare): Add missing space in
+       diagnostics.
+
 2017-02-13  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
 
        PR c/79478
index e29924b..2297750 100644 (file)
@@ -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;
index f2f763e..8393884 100644 (file)
@@ -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,
index e315e53..7d20c44 100644 (file)
@@ -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");
index fc57f16..19f4d3d 100644 (file)
@@ -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));
index dc5e50e..d9c269d 100644 (file)
@@ -1,3 +1,7 @@
+2017-02-13  Jakub Jelinek  <jakub@redhat.com>
+
+       * trans-expr.c (gfc_conv_substring): Add missing space in diagnostics.
+
 2017-02-12  Thomas Koenig  <tkoenig@gcc.gnu.org>
 
        PR fortran/65542
index 138af56..87bf069 100644 (file)
@@ -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,
index d7ea38f..4843f8a 100644 (file)
@@ -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,
index 22323b2..585ca84 100644 (file)
@@ -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--;
index 127f514..a7b6f60 100644 (file)
@@ -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");
index 4e0478a..9f55972 100644 (file)
@@ -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 %<transaction_safe%>"
+                 "invalid use of volatile lvalue inside %<transaction_safe%> "
                  "function");
     }
 
index 261a60f..0ce6c15 100644 (file)
@@ -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);
index 8a9fff5..7953228 100644 (file)
@@ -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));
index d51a5ad..390d5bb 100644 (file)
@@ -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<ce_s> *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