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
118f3b19
Commit
118f3b19
authored
Dec 05, 2004
by
Kazu Hirata
Committed by
Kazu Hirata
Dec 05, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* builtins.c: Fix comment typos.
From-SVN: r91749
parent
91373fe8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
gcc/ChangeLog
+4
-0
gcc/builtins.c
+6
-4
No files found.
gcc/ChangeLog
View file @
118f3b19
2004
-
12
-
05
Kazu
Hirata
<
kazu
@
cs
.
umass
.
edu
>
*
builtins
.
c
:
Fix
comment
typos
.
2004
-
12
-
04
John
David
Anglin
<
dave
.
anglin
@
nrc
-
cnrc
.
gc
.
ca
>
PR
middle
-
end
/
18730
...
...
gcc/builtins.c
View file @
118f3b19
...
...
@@ -8653,7 +8653,7 @@ fold_builtin_fputs (tree arglist, bool ignore, bool unlocked, tree len)
return
build_function_call_expr
(
fn
,
arglist
);
}
/* Fold the new_arg's a
gr
uments (ARGLIST). Returns true if there was an error
/* Fold the new_arg's a
rg
uments (ARGLIST). Returns true if there was an error
produced. False otherwise. This is done so that we don't output the error
or warning twice or three times. */
bool
...
...
@@ -8684,9 +8684,11 @@ fold_builtin_next_arg (tree arglist)
arg
=
TREE_OPERAND
(
arg
,
0
);
if
(
arg
!=
last_parm
)
{
/* FIXME: Sometimes with the tree optimizaters we can get the not the last argument
even though the user used the last argument. We just warn and set the arg to be
the last argument so that we will get wrong-code because of it. */
/* FIXME: Sometimes with the tree optimizers we can get the
not the last argument even though the user used the last
argument. We just warn and set the arg to be the last
argument so that we will get wrong-code because of
it. */
arg
=
last_parm
;
warning
(
"second parameter of %<va_start%> not last named argument"
);
}
...
...
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