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
e0075d84
Commit
e0075d84
authored
Apr 25, 2000
by
Jakub Jelinek
Committed by
Jakub Jelinek
Apr 25, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* execute/va-arg-20.c: New test.
From-SVN: r33418
parent
5ed12799
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
gcc/testsuite/gcc.c-torture/ChangeLog
+4
-0
gcc/testsuite/gcc.c-torture/execute/va-arg-20.c
+22
-0
No files found.
gcc/testsuite/gcc.c-torture/ChangeLog
View file @
e0075d84
2000-04-25 Jakub Jelinek <jakub@redhat.com>
* execute/va-arg-20.c: New test.
2000-04-20 Greg McGary <gkm@gnu.org>
* compile/20000420-2.c: New test for stack misalignment
...
...
gcc/testsuite/gcc.c-torture/execute/va-arg-20.c
0 → 100644
View file @
e0075d84
#include <stdarg.h>
void
foo
(
va_list
v
)
{
unsigned
long
long
x
=
va_arg
(
v
,
unsigned
long
long
);
if
(
x
!=
16LL
)
abort
();
}
void
bar
(
char
c
,
char
d
,
...)
{
va_list
v
;
va_start
(
v
,
d
);
foo
(
v
);
va_end
(
v
);
}
int
main
(
void
)
{
bar
(
0
,
0
,
16LL
);
exit
(
0
);
}
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