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
8d02144c
Commit
8d02144c
authored
Sep 24, 1992
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(va_arg): Add 3 more (void *) casts to avoid warnings
with -Wcast-align. From-SVN: r2242
parent
1e4eb8d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gcc/ginclude/va-sparc.h
+3
-3
No files found.
gcc/ginclude/va-sparc.h
View file @
8d02144c
...
@@ -66,11 +66,11 @@ __extension__ \
...
@@ -66,11 +66,11 @@ __extension__ \
({ TYPE __va_temp; \
({ TYPE __va_temp; \
((__builtin_classify_type (__va_temp) >= 12) \
((__builtin_classify_type (__va_temp) >= 12) \
? ((pvar) += __va_rounded_size (TYPE *), \
? ((pvar) += __va_rounded_size (TYPE *), \
**(TYPE **) (
(pvar) - __va_rounded_size (TYPE *)))
\
**(TYPE **) (
void *) ((pvar) - __va_rounded_size (TYPE *)))
\
: __va_rounded_size (TYPE) == 8 \
: __va_rounded_size (TYPE) == 8 \
? ({ union {char __d[sizeof (TYPE)]; int __i[2];} __u; \
? ({ union {char __d[sizeof (TYPE)]; int __i[2];} __u; \
__u.__i[0] = ((int *) (
pvar))[0];
\
__u.__i[0] = ((int *) (
void *) (pvar))[0];
\
__u.__i[1] = ((int *) (
pvar))[1];
\
__u.__i[1] = ((int *) (
void *) (pvar))[1];
\
(pvar) += 8; \
(pvar) += 8; \
*(TYPE *) (void *) __u.__d; }) \
*(TYPE *) (void *) __u.__d; }) \
: ((pvar) += __va_rounded_size (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