re PR translation/90011 (trailing space in diagnostic)
authorJakub Jelinek <jakub@redhat.com>
Tue, 9 Apr 2019 10:27:14 +0000 (12:27 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 9 Apr 2019 10:27:14 +0000 (12:27 +0200)
PR translation/90011
* ipa-devirt.c (compare_virtual_tables): Remove two trailing spaces
from diagnostics.
* config/arm/freebsd.h (LINK_SPEC): Remove trailing space from -p
diagnostics.
* config/riscv/freebsd.h (LINK_SPEC): Likewise.
* config/aarch64/aarch64-freebsd.h (FBSD_TARGET_LINK_SPEC): Likewise.
* config/darwin.h (DRIVER_SELF_SPECS, ASM_FINAL_SPEC): Remove
trailing space from -gsplit-dwarf diagnostics.

From-SVN: r270225

gcc/ChangeLog
gcc/config/aarch64/aarch64-freebsd.h
gcc/config/arm/freebsd.h
gcc/config/darwin.h
gcc/config/riscv/freebsd.h
gcc/ipa-devirt.c

index d0d6abc7c58c779c6a025026b3f0d07ada357e46..7136f6bbb9a2a8b0034263f7688033bc4c8da96c 100644 (file)
@@ -1,5 +1,15 @@
 2019-04-09  Jakub Jelinek  <jakub@redhat.com>
 
+       PR translation/90011
+       * ipa-devirt.c (compare_virtual_tables): Remove two trailing spaces
+       from diagnostics.
+       * config/arm/freebsd.h (LINK_SPEC): Remove trailing space from -p
+       diagnostics.
+       * config/riscv/freebsd.h (LINK_SPEC): Likewise.
+       * config/aarch64/aarch64-freebsd.h (FBSD_TARGET_LINK_SPEC): Likewise.
+       * config/darwin.h (DRIVER_SELF_SPECS, ASM_FINAL_SPEC): Remove
+       trailing space from -gsplit-dwarf diagnostics.
+
        PR tree-optimization/89998
        * gimple-ssa-sprintf.c (try_substitute_return_value): Use lhs type
        instead of integer_type_node if possible, don't add ranges if return
index bdc294ad1a0123d4ddf321e0d9613bb616753b1e..899e6f95e34491c80f5b6be8e9b360972a80b630 100644 (file)
@@ -34,7 +34,7 @@
 
 #undef  FBSD_TARGET_LINK_SPEC
 #define FBSD_TARGET_LINK_SPEC "                                 \
-    %{p:%nconsider using `-pg' instead of `-p' with gprof (1) } \
+    %{p:%nconsider using `-pg' instead of `-p' with gprof (1) \
     %{v:-V}                                                     \
     %{assert*} %{R*} %{rpath*} %{defsym*}                       \
     %{shared:-Bshareable %{h*} %{soname*}}                      \
index 5d629cb3e96187991f5906ed061a35e39e27d027..ed8d4061ca4755c0c725e5bafc5856040ee47544 100644 (file)
@@ -46,7 +46,7 @@
 
 #undef LINK_SPEC
 #define LINK_SPEC "                                                    \
-  %{p:%nconsider using `-pg' instead of `-p' with gprof (1) }          \
+  %{p:%nconsider using `-pg' instead of `-p' with gprof (1)          \
   %{v:-V}                                                              \
   %{assert*} %{R*} %{rpath*} %{defsym*}                                        \
   %{shared:-Bshareable %{h*} %{soname*}}                               \
index 8c197e61577ddcf007f820ef09abbb226214b00f..0e253cb0dfa24f77fa64f0830ece3f1086aab693 100644 (file)
@@ -123,7 +123,7 @@ extern GTY(()) int darwin_ms_struct;
   "%{gused:-g -feliminate-unused-debug-symbols} %<gused",      \
   "%{fapple-kext|mkernel:-static}",                            \
   "%{shared:-Zdynamiclib} %<shared",                            \
-  "%{gsplit-dwarf:%ngsplit-dwarf is not supported on this platform } \
+  "%{gsplit-dwarf:%ngsplit-dwarf is not supported on this platform} \
      %<gsplit-dwarf"
 
 #define DARWIN_CC1_SPEC                                                        \
@@ -424,7 +424,7 @@ extern GTY(()) int darwin_ms_struct;
 
 #define ASM_DEBUG_SPEC  "%{g*:%{%:debug-level-gt(0):%{!gdwarf*:--gstabs}}}"
 #define ASM_FINAL_SPEC \
-  "%{gsplit-dwarf:%ngsplit-dwarf is not supported on this platform } %<gsplit-dwarf"
+  "%{gsplit-dwarf:%ngsplit-dwarf is not supported on this platform} %<gsplit-dwarf"
 
 /* We still allow output of STABS if the assembler supports it.  */
 #ifdef HAVE_AS_STABS_DIRECTIVE
index 4e7e7ff5fc1f00183fb97296e6b33c3972039693..13d04ccbb47e09ad897047321ea578e939d379fa 100644 (file)
@@ -41,7 +41,7 @@ along with GCC; see the file COPYING3.  If not see
 #undef LINK_SPEC
 #define LINK_SPEC "                                            \
   -melf" XLEN_SPEC "lriscv                                     \
-  %{p:%nconsider using `-pg' instead of `-p' with gprof (1) }  \
+  %{p:%nconsider using `-pg' instead of `-p' with gprof (1)  \
   %{v:-V}                                                      \
   %{assert*} %{R*} %{rpath*} %{defsym*}                                \
   %{shared:-Bshareable %{h*} %{soname*}}                       \
index 6d891e81a49aa0dee7e1f4538e035b4dcfbf86c5..61e4efc83d413c4b01d739cd11d2b2c5309213c6 100644 (file)
@@ -874,7 +874,7 @@ compare_virtual_tables (varpool_node *prevailing, varpool_node *vtable)
                                (TYPE_NAME (DECL_CONTEXT (vtable->decl))),
                              OPT_Wodr,
                              "virtual table of type %qD violates "
-                             "one definition rule  ",
+                             "one definition rule",
                              DECL_CONTEXT (vtable->decl)))
                {
                  inform (DECL_SOURCE_LOCATION