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
11392146
Commit
11392146
authored
Jan 03, 1995
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(va_arg, mips3 case): Use __PTRDIFF_TYPE__ not int in casts.
From-SVN: r8716
parent
2965b536
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gcc/ginclude/va-mips.h
+2
-2
No files found.
gcc/ginclude/va-mips.h
View file @
11392146
...
...
@@ -66,11 +66,11 @@ void va_end (__gnuc_va_list); /* Defined in libgcc.a */
#if __mips==3
#ifdef __MIPSEB__
#define va_arg(__AP, __type) \
((__type *) (void *) (__AP = (char *) ((((
int
)__AP + 8 - 1) & -8) \
((__type *) (void *) (__AP = (char *) ((((
__PTRDIFF_TYPE__
)__AP + 8 - 1) & -8) \
+ __va_rounded_size (__type))))[-1]
#else
#define va_arg(__AP, __type) \
((__AP = (char *) ((((
int)__AP + 8 - 1) & -8)
\
((__AP = (char *) ((((
__PTRDIFF_TYPE__)__AP + 8 - 1) & -8)
\
+ __va_rounded_size (__type))), \
*(__type *) (void *) (__AP - __va_rounded_size (__type)))
#endif
...
...
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