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
6b2a374b
Commit
6b2a374b
authored
32 years ago
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(pop_label_level, combine_parm_decls): Correct args in error calls.
From-SVN: r4132
parent
f1644e9a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gcc/c-decl.c
+3
-3
No files found.
gcc/c-decl.c
View file @
6b2a374b
...
...
@@ -1158,8 +1158,8 @@ pop_label_level ()
{
if
(
DECL_SOURCE_LINE
(
TREE_VALUE
(
link
))
==
0
)
{
error_with_decl
(
"label `%s' used but not defined"
,
TREE_VALUE
(
link
)
);
error_with_decl
(
TREE_VALUE
(
link
)
,
"label `%s' used but not defined"
);
/* Avoid crashing later. */
define_label
(
input_filename
,
lineno
,
DECL_NAME
(
TREE_VALUE
(
link
)));
...
...
@@ -6210,7 +6210,7 @@ combine_parm_decls (specparms, parmlist, void_at_end)
DECL_ARG_TYPE
(
found
)
=
TREE_TYPE
(
found
);
DECL_SOURCE_LINE
(
found
)
=
DECL_SOURCE_LINE
(
fndecl
);
DECL_SOURCE_FILE
(
found
)
=
DECL_SOURCE_FILE
(
fndecl
);
error
(
found
,
"type of parameter `%s' is not declared"
);
error
_with_decl
(
found
,
"type of parameter `%s' is not declared"
);
pushdecl
(
found
);
}
...
...
This diff is collapsed.
Click to expand it.
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