diff options
author | Nathan Sidwell <nathan@acm.org> | 2018-09-11 21:34:14 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2018-09-11 21:34:14 +0000 |
commit | 3d80fcaa4a258cb030dca0f1b92ef1b03b06c850 (patch) | |
tree | 60fbdc13bbd19926cf862396fcfc79226e86c2a1 /gcc | |
parent | 1f621085b8098b65ddedc379a03ce70e4ff0a7df (diff) | |
download | gcc-3d80fcaa4a258cb030dca0f1b92ef1b03b06c850.zip gcc-3d80fcaa4a258cb030dca0f1b92ef1b03b06c850.tar.gz gcc-3d80fcaa4a258cb030dca0f1b92ef1b03b06c850.tar.bz2 |
* gcc.c (load_specs, execute, run_attempt): Use %qs not '%s'.
From-SVN: r264217
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/gcc.c | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ccadf68a..17aa2a1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 @@ -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); } |