Commit 765f8786 by Jakub Jelinek Committed by Jakub Jelinek

re PR translation/90011 (trailing space in diagnostic)

	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
parent a73468e8
2019-04-09 Jakub Jelinek <jakub@redhat.com> 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 PR tree-optimization/89998
* gimple-ssa-sprintf.c (try_substitute_return_value): Use lhs type * gimple-ssa-sprintf.c (try_substitute_return_value): Use lhs type
instead of integer_type_node if possible, don't add ranges if return instead of integer_type_node if possible, don't add ranges if return
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
#undef FBSD_TARGET_LINK_SPEC #undef FBSD_TARGET_LINK_SPEC
#define 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} \ %{v:-V} \
%{assert*} %{R*} %{rpath*} %{defsym*} \ %{assert*} %{R*} %{rpath*} %{defsym*} \
%{shared:-Bshareable %{h*} %{soname*}} \ %{shared:-Bshareable %{h*} %{soname*}} \
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
#undef LINK_SPEC #undef LINK_SPEC
#define 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} \ %{v:-V} \
%{assert*} %{R*} %{rpath*} %{defsym*} \ %{assert*} %{R*} %{rpath*} %{defsym*} \
%{shared:-Bshareable %{h*} %{soname*}} \ %{shared:-Bshareable %{h*} %{soname*}} \
......
...@@ -123,7 +123,7 @@ extern GTY(()) int darwin_ms_struct; ...@@ -123,7 +123,7 @@ extern GTY(()) int darwin_ms_struct;
"%{gused:-g -feliminate-unused-debug-symbols} %<gused", \ "%{gused:-g -feliminate-unused-debug-symbols} %<gused", \
"%{fapple-kext|mkernel:-static}", \ "%{fapple-kext|mkernel:-static}", \
"%{shared:-Zdynamiclib} %<shared", \ "%{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" %<gsplit-dwarf"
#define DARWIN_CC1_SPEC \ #define DARWIN_CC1_SPEC \
...@@ -424,7 +424,7 @@ extern GTY(()) int darwin_ms_struct; ...@@ -424,7 +424,7 @@ extern GTY(()) int darwin_ms_struct;
#define ASM_DEBUG_SPEC "%{g*:%{%:debug-level-gt(0):%{!gdwarf*:--gstabs}}}" #define ASM_DEBUG_SPEC "%{g*:%{%:debug-level-gt(0):%{!gdwarf*:--gstabs}}}"
#define ASM_FINAL_SPEC \ #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. */ /* We still allow output of STABS if the assembler supports it. */
#ifdef HAVE_AS_STABS_DIRECTIVE #ifdef HAVE_AS_STABS_DIRECTIVE
......
...@@ -41,7 +41,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -41,7 +41,7 @@ along with GCC; see the file COPYING3. If not see
#undef LINK_SPEC #undef LINK_SPEC
#define LINK_SPEC " \ #define LINK_SPEC " \
-melf" XLEN_SPEC "lriscv \ -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} \ %{v:-V} \
%{assert*} %{R*} %{rpath*} %{defsym*} \ %{assert*} %{R*} %{rpath*} %{defsym*} \
%{shared:-Bshareable %{h*} %{soname*}} \ %{shared:-Bshareable %{h*} %{soname*}} \
......
...@@ -874,7 +874,7 @@ compare_virtual_tables (varpool_node *prevailing, varpool_node *vtable) ...@@ -874,7 +874,7 @@ compare_virtual_tables (varpool_node *prevailing, varpool_node *vtable)
(TYPE_NAME (DECL_CONTEXT (vtable->decl))), (TYPE_NAME (DECL_CONTEXT (vtable->decl))),
OPT_Wodr, OPT_Wodr,
"virtual table of type %qD violates " "virtual table of type %qD violates "
"one definition rule ", "one definition rule",
DECL_CONTEXT (vtable->decl))) DECL_CONTEXT (vtable->decl)))
{ {
inform (DECL_SOURCE_LOCATION inform (DECL_SOURCE_LOCATION
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment