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
This commit is contained in:
Richard Biener 2017-03-06 08:54:57 +00:00 committed by Richard Biener
parent 4d0da5b439
commit 8467170571
4 changed files with 9 additions and 3 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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;
}

View File

@ -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)));