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
5c96a037
Commit
5c96a037
authored
Jun 22, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r1233
parent
5352b11a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
gcc/ginclude/va-sparc.h
+6
-4
No files found.
gcc/ginclude/va-sparc.h
View file @
5c96a037
...
...
@@ -48,6 +48,8 @@ typedef void * __va___list;
passed by invisible reference. ??? RECORD_TYPE args passed
in the stack are made to be word-aligned; for an aggregate that is
not word-aligned, we advance the pointer to the first non-reg slot. */
/* We don't declare the union member `d' to have type TYPE
because that would lose in C++ if TYPE has a constructor. */
#define va_arg(pvar,TYPE) \
__extension__ \
({ TYPE __va_temp; \
...
...
@@ -55,10 +57,10 @@ __extension__ \
? ((pvar) += __va_rounded_size (TYPE *), \
**(TYPE **) ((pvar) - __va_rounded_size (TYPE *))) \
: __va_rounded_size (TYPE) == 8 \
? ({ union {
TYPE d; int i[2];} u;
\
u.i[0] = ((int *) (pvar))[0];
\
u.i[1] = ((int *) (pvar))[1];
\
? ({ union {
char __d[sizeof (TYPE)]; int __i[2];} __u;
\
__u.__i[0] = ((int *) (pvar))[0];
\
__u.__i[1] = ((int *) (pvar))[1];
\
(pvar) += 8; \
u.d; })
\
*(TYPE *)__u.__d; })
\
: ((pvar) += __va_rounded_size (TYPE), \
*((TYPE *) ((pvar) - __va_rounded_size (TYPE)))));})
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