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
2017-11-15 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr65802.c
blob
fcec234dc0b84aba380b7f194257a7fbc6c48b48
1
/* { dg-do compile } */
2
/* { dg-options "-O0 -fexceptions" } */
3
4
#include <stdarg.h>
5
6
struct
S
7
{
8
int
(*
m_fn1
) (
void
);
9
}
a
;
10
11
void
12
fn1
(
int
d
, ...)
13
{
14
va_list
c
;
15
va_start
(
c
,
d
);
16
17
{
18
int
*
d
=
va_arg
(
c
,
int
*);
19
20
int
**
e
= &
d
;
21
22
a
.
m_fn1
();
23
}
24
25
a
.
m_fn1
();
26
27
va_end
(
c
);
28
}