diff options
author | Richard Biener <rguenther@suse.de> | 2017-03-06 08:54:57 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2017-03-06 08:54:57 +0000 |
commit | 8467170571d48d8c0f34b72a3b2d0f50c8f689b2 (patch) | |
tree | 79b243ccf37276b8c1819020da2ed98de924b069 | |
parent | 4d0da5b439d39da7c379f618876a5c8963e1d62b (diff) | |
download | gcc-8467170571d48d8c0f34b72a3b2d0f50c8f689b2.zip gcc-8467170571d48d8c0f34b72a3b2d0f50c8f689b2.tar.gz gcc-8467170571d48d8c0f34b72a3b2d0f50c8f689b2.tar.bz2 |
lto-streamer.c (lto_check_version): Use %qs in diagnostics.
2017-03-06 Richard Biener <rguenther@suse.de>
* lto-streamer.c (lto_check_version): Use %qs in diagnostics.
* plugin.c (register_plugin_info): Likewise.
* tree-chkp.c (chkp_make_static_const_bounds): Likewise.
From-SVN: r245909
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/lto-streamer.c | 2 | ||||
-rw-r--r-- | gcc/plugin.c | 2 | ||||
-rw-r--r-- | gcc/tree-chkp.c | 2 |
4 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3432411..8c93967 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2017-03-06 Richard Biener <rguenther@suse.de> + + * lto-streamer.c (lto_check_version): Use %qs in diagnostics. + * plugin.c (register_plugin_info): Likewise. + * tree-chkp.c (chkp_make_static_const_bounds): Likewise. + 2017-03-05 Jakub Jelinek <jakub@redhat.com> * config/i386/sse.md (sse_storehps, sse_storelps, diff --git a/gcc/lto-streamer.c b/gcc/lto-streamer.c index 5fb3871..04d7330 100644 --- a/gcc/lto-streamer.c +++ b/gcc/lto-streamer.c @@ -380,7 +380,7 @@ lto_check_version (int major, int minor, const char *file_name) { if (major != LTO_major_version || minor != LTO_minor_version) fatal_error (input_location, - "bytecode stream in file '%s' generated with LTO version " + "bytecode stream in file %qs generated with LTO version " "%d.%d instead of the expected %d.%d", file_name, major, minor, diff --git a/gcc/plugin.c b/gcc/plugin.c index 0ea0027..1996c9a 100644 --- a/gcc/plugin.c +++ b/gcc/plugin.c @@ -334,7 +334,7 @@ register_plugin_info (const char* name, struct plugin_info *info) if (slot == NULL) { - error ("unable to register info for plugin '%s' - plugin name not found", + error ("unable to register info for plugin %qs - plugin name not found", name); return; } diff --git a/gcc/tree-chkp.c b/gcc/tree-chkp.c index 7eecbc8..02ae2d2 100644 --- a/gcc/tree-chkp.c +++ b/gcc/tree-chkp.c @@ -1991,7 +1991,7 @@ chkp_make_static_const_bounds (HOST_WIDE_INT lb, /* We don't allow this symbol usage for non bounds. */ if (snode->type != SYMTAB_VARIABLE || !POINTER_BOUNDS_P (snode->decl)) - sorry ("-fcheck-pointer-bounds requires '%s' " + sorry ("-fcheck-pointer-bounds requires %qs " "name for internal usage", IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (var))); |