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
6692a31f
Commit
6692a31f
authored
Jan 31, 1996
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_builtin, case BUILT_IN_NEXT_ARG): Strip off INDIRECT_REF when
checking second arg. From-SVN: r11139
parent
3c758d82
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
gcc/expr.c
+5
-2
No files found.
gcc/expr.c
View file @
6692a31f
...
@@ -8047,10 +8047,13 @@ expand_builtin (exp, target, subtarget, mode, ignore)
...
@@ -8047,10 +8047,13 @@ expand_builtin (exp, target, subtarget, mode, ignore)
tree
arg
=
TREE_VALUE
(
arglist
);
tree
arg
=
TREE_VALUE
(
arglist
);
/* Strip off all nops for the sake of the comparison. This
/* Strip off all nops for the sake of the comparison. This
is not quite the same as STRIP_NOPS. It does more. */
is not quite the same as STRIP_NOPS. It does more.
We must also strip off INDIRECT_EXPR for C++ reference
parameters. */
while
(
TREE_CODE
(
arg
)
==
NOP_EXPR
while
(
TREE_CODE
(
arg
)
==
NOP_EXPR
||
TREE_CODE
(
arg
)
==
CONVERT_EXPR
||
TREE_CODE
(
arg
)
==
CONVERT_EXPR
||
TREE_CODE
(
arg
)
==
NON_LVALUE_EXPR
)
||
TREE_CODE
(
arg
)
==
NON_LVALUE_EXPR
||
TREE_CODE
(
arg
)
==
INDIRECT_REF
)
arg
=
TREE_OPERAND
(
arg
,
0
);
arg
=
TREE_OPERAND
(
arg
,
0
);
if
(
arg
!=
last_parm
)
if
(
arg
!=
last_parm
)
warning
(
"second parameter of `va_start' not last named argument"
);
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