repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2016-12-21 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
pr43799.c
blob
de9022d0cb6b9bdff5167ca0873761ea766e281c
1
/* { dg-do run } */
2
/* { dg-options "-O -fschedule-insns" } */
3
4
int
f4
(
int
i
, ...)
5
{
6
int
y
=
0
;
7
__builtin_va_list ap
;
8
__builtin_va_start
(
ap
,
i
);
9
if
(
i
==
5
)
y
=
__builtin_va_arg
(
ap
,
double
);
10
__builtin_va_end
(
ap
);
11
return
y
;
12
}
13
14
int
main
(
void
)
15
{
16
if
(
f4
(
5
,
7.0
) !=
7
)
17
__builtin_abort
();
18
return
0
;
19
}