From: Jakub Jelinek Date: Tue, 9 Apr 2019 10:27:14 +0000 (+0200) Subject: re PR translation/90011 (trailing space in diagnostic) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=765f8786cf6e22aa6309f321f0afd8e7dc79b4bb;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d0d6abc7c58..7136f6bbb9a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,15 @@ 2019-04-09 Jakub Jelinek + 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 diff --git a/gcc/config/aarch64/aarch64-freebsd.h b/gcc/config/aarch64/aarch64-freebsd.h index bdc294ad1a0..899e6f95e34 100644 --- a/gcc/config/aarch64/aarch64-freebsd.h +++ b/gcc/config/aarch64/aarch64-freebsd.h @@ -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*}} \ diff --git a/gcc/config/arm/freebsd.h b/gcc/config/arm/freebsd.h index 5d629cb3e96..ed8d4061ca4 100644 --- a/gcc/config/arm/freebsd.h +++ b/gcc/config/arm/freebsd.h @@ -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*}} \ diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 8c197e61577..0e253cb0dfa 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -123,7 +123,7 @@ extern GTY(()) int darwin_ms_struct; "%{gused:-g -feliminate-unused-debug-symbols} %decl))), OPT_Wodr, "virtual table of type %qD violates " - "one definition rule ", + "one definition rule", DECL_CONTEXT (vtable->decl))) { inform (DECL_SOURCE_LOCATION