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
gcc/
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr52045.c
blob
888ddb6a129a17a294608023a1bcb20baf23a4cd
1
/* { dg-do compile } */
2
/* { dg-options "-O3 -ftracer -fno-tree-ccp -fno-tree-copy-prop -fno-tree-dce" } */
3
4
char
*
vx
;
5
char
buf
[
20
];
6
7
void
8
foo
(
void
)
9
{
10
vx
=
__builtin___stpcpy_chk
(
buf
,
vx
?
"gh"
:
"e"
,
sizeof
(
buf
));
11
}