OSDN Git Service

2012-01-30 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / pr52045.c
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 }