Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.dg
/
pr52045.c
blob: 888ddb6a129a17a294608023a1bcb20baf23a4cd [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O3 -ftracer -fno-tree-ccp -fno-tree-copy-prop -fno-tree-dce" } */
char
*
vx
;
char
buf
[
20
];
void
foo
(
void
)
{
vx
=
__builtin___stpcpy_chk
(
buf
,
vx
?
"gh"
:
"e"
,
sizeof
(
buf
));
}