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
2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
i386
/
memcpy-strategy-4.c
blob
5c51248b5c5e5f865d43985a055796c81a82b584
1
/* PR target/64200 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -march=atom -mmemcpy-strategy=libcall:-1:align -minline-stringops-dynamically" } */
4
5
#include <stdarg.h>
6
7
extern
void
bar
(
char
*
x
);
8
9
void
foo
(
int
size
, ...)
10
{
11
struct
12
{
13
char
x
[
size
];
14
}
d
;
15
16
va_list
ap
;
17
va_start
(
ap
,
size
);
18
d
=
va_arg
(
ap
,
typeof
(
d
));
19
va_end
(
ap
);
20
bar
(
d
.
x
);
21
}