Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
3d80fcaa
Commit
3d80fcaa
authored
Sep 11, 2018
by
Nathan Sidwell
Committed by
Nathan Sidwell
Sep 11, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.c (load_specs, execute, run_attempt): Use %qs not '%s'.
From-SVN: r264217
parent
1f621085
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
gcc/ChangeLog
+4
-0
gcc/gcc.c
+5
-5
No files found.
gcc/ChangeLog
View file @
3d80fcaa
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>
2018-09-11 Uros Bizjak <ubizjak@gmail.com>
* reg-stack.c (subst_asm_stack_regs): Call replace_reg also
* reg-stack.c (subst_asm_stack_regs): Call replace_reg also
...
...
gcc/gcc.c
View file @
3d80fcaa
...
@@ -2102,7 +2102,7 @@ load_specs (const char *filename)
...
@@ -2102,7 +2102,7 @@ load_specs (const char *filename)
{
{
failed
:
failed
:
/* This leaves DESC open, but the OS will save us. */
/* 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
)
if
(
stat
(
filename
,
&
statbuf
)
<
0
)
...
@@ -3174,8 +3174,8 @@ execute (void)
...
@@ -3174,8 +3174,8 @@ execute (void)
{
{
errno
=
err
;
errno
=
err
;
fatal_error
(
input_location
,
fatal_error
(
input_location
,
err
?
G_
(
"cannot execute
'%s'
%s: %m"
)
err
?
G_
(
"cannot execute
%qs:
%s: %m"
)
:
G_
(
"cannot execute
'%s'
%s"
),
:
G_
(
"cannot execute
%qs:
%s"
),
string
,
errmsg
);
string
,
errmsg
);
}
}
...
@@ -6887,8 +6887,8 @@ run_attempt (const char **new_argv, const char *out_temp,
...
@@ -6887,8 +6887,8 @@ run_attempt (const char **new_argv, const char *out_temp,
{
{
errno
=
err
;
errno
=
err
;
fatal_error
(
input_location
,
fatal_error
(
input_location
,
err
?
G_
(
"cannot execute
'%s'
%s: %m"
)
err
?
G_
(
"cannot execute
%qs:
%s: %m"
)
:
G_
(
"cannot execute
'%s'
%s"
),
:
G_
(
"cannot execute
%qs:
%s"
),
new_argv
[
0
],
errmsg
);
new_argv
[
0
],
errmsg
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment