lto-streamer.c (lto_check_version): Use %qs in diagnostics.
authorRichard Biener <rguenther@suse.de>
Mon, 6 Mar 2017 08:54:57 +0000 (08:54 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 6 Mar 2017 08:54:57 +0000 (08:54 +0000)
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

gcc/ChangeLog
gcc/lto-streamer.c
gcc/plugin.c
gcc/tree-chkp.c

index 3432411..8c93967 100644 (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,
index 5fb3871..04d7330 100644 (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,
index 0ea0027..1996c9a 100644 (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;
     }
index 7eecbc8..02ae2d2 100644 (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)));