Commit 84671705 by Richard Biener Committed by Richard Biener

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
parent 4d0da5b4
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> 2017-03-05 Jakub Jelinek <jakub@redhat.com>
* config/i386/sse.md (sse_storehps, sse_storelps, * config/i386/sse.md (sse_storehps, sse_storelps,
......
...@@ -380,7 +380,7 @@ lto_check_version (int major, int minor, const char *file_name) ...@@ -380,7 +380,7 @@ lto_check_version (int major, int minor, const char *file_name)
{ {
if (major != LTO_major_version || minor != LTO_minor_version) if (major != LTO_major_version || minor != LTO_minor_version)
fatal_error (input_location, 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", "%d.%d instead of the expected %d.%d",
file_name, file_name,
major, minor, major, minor,
......
...@@ -334,7 +334,7 @@ register_plugin_info (const char* name, struct plugin_info *info) ...@@ -334,7 +334,7 @@ register_plugin_info (const char* name, struct plugin_info *info)
if (slot == NULL) 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); name);
return; return;
} }
......
...@@ -1991,7 +1991,7 @@ chkp_make_static_const_bounds (HOST_WIDE_INT lb, ...@@ -1991,7 +1991,7 @@ chkp_make_static_const_bounds (HOST_WIDE_INT lb,
/* We don't allow this symbol usage for non bounds. */ /* We don't allow this symbol usage for non bounds. */
if (snode->type != SYMTAB_VARIABLE if (snode->type != SYMTAB_VARIABLE
|| !POINTER_BOUNDS_P (snode->decl)) || !POINTER_BOUNDS_P (snode->decl))
sorry ("-fcheck-pointer-bounds requires '%s' " sorry ("-fcheck-pointer-bounds requires %qs "
"name for internal usage", "name for internal usage",
IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (var))); IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (var)));
......
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