]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* gcc.c (load_specs, execute, run_attempt): Use %qs not '%s'.
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Sep 2018 21:34:14 +0000 (21:34 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 11 Sep 2018 21:34:14 +0000 (21:34 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@264217 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/gcc.c

index ccadf68adfcc0896d6c712dff82abaff7e506984..17aa2a10da62ad0d75c9e0148f20c4d5bcf7119a 100644 (file)
@@ -1,3 +1,7 @@
+2018-09-11  Nathan Sidwell  <nathan@acm.org>
+
+       * gcc.c (load_specs, execute, run_attempt): Use %qs not '%s'.
+
 2018-09-11  Uros Bizjak  <ubizjak@gmail.com>
 
        * reg-stack.c (subst_asm_stack_regs): Call replace_reg also
index 7532a2e1fc5ea048dee682cb5f7f3d772605ac49..8be82eaa04fd8b8b6b7a28f6e04b72d58fea8fdb 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -2102,7 +2102,7 @@ load_specs (const char *filename)
     {
     failed:
       /* This leaves DESC open, but the OS will save us.  */
-      fatal_error (input_location, "cannot read spec file '%s': %m", filename);
+      fatal_error (input_location, "cannot read spec file %qs: %m", filename);
     }
 
   if (stat (filename, &statbuf) < 0)
@@ -3174,8 +3174,8 @@ execute (void)
        {
          errno = err;
          fatal_error (input_location,
-                      err ? G_("cannot execute '%s' %s: %m")
-                      : G_("cannot execute '%s' %s"),
+                      err ? G_("cannot execute %qs: %s: %m")
+                      : G_("cannot execute %qs: %s"),
                       string, errmsg);
        }
 
@@ -6887,8 +6887,8 @@ run_attempt (const char **new_argv, const char *out_temp,
     {
       errno = err;
       fatal_error (input_location,
-                  err ? G_ ("cannot execute '%s' %s: %m")
-                  : G_ ("cannot execute '%s' %s"),
+                  err ? G_ ("cannot execute %qs: %s: %m")
+                  : G_ ("cannot execute %qs: %s"),
                   new_argv[0], errmsg);
     }