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
a343d371
Commit
a343d371
authored
Feb 06, 1995
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(va_start): Add __builtin_next_arg call.
From-SVN: r8877
parent
29d306d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
gcc/ginclude/va-i960.h
+4
-1
No files found.
gcc/ginclude/va-i960.h
View file @
a343d371
...
@@ -36,9 +36,12 @@ typedef unsigned __gnuc_va_list[2];
...
@@ -36,9 +36,12 @@ typedef unsigned __gnuc_va_list[2];
#endif
#endif
#ifdef _STDARG_H
#ifdef _STDARG_H
/* Call __builtin_next_arg even though we aren't using its value, so that
we can verify that firstarg is correct. */
#define va_start(AP, LASTARG) \
#define va_start(AP, LASTARG) \
__extension__ \
__extension__ \
({ __asm__ ("st g14,%0" : "=m" (*(AP))); \
({ __builtin_next_arg (LASTARG); \
__asm__ ("st g14,%0" : "=m" (*(AP))); \
(AP)[1] = (__builtin_args_info (0) + __builtin_args_info (1)) * 4; })
(AP)[1] = (__builtin_args_info (0) + __builtin_args_info (1)) * 4; })
#else
#else
...
...
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