Add new test to verify that the array index, limit, and stride are
[official-gcc.git] / gcc / testsuite / gcc.dg / pr52045.c
blob888ddb6a129a17a294608023a1bcb20baf23a4cd
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -ftracer -fno-tree-ccp -fno-tree-copy-prop -fno-tree-dce" } */
4 char *vx;
5 char buf[20];
7 void
8 foo (void)
10 vx = __builtin___stpcpy_chk (buf, vx ? "gh" : "e", sizeof(buf));