Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr52318.c
blob4f367aa1cd4c59a89135b0c4acf79a595e7a086f
1 /* PR tree-optimization/52318 */
2 /* { dg-do compile } */
3 /* { dg-options "-O3 -ftracer -fno-tree-ccp -fno-tree-copy-prop -fno-tree-dce" } */
5 int c;
6 char *p;
8 void
9 foo (int i)
11 char a[2];
12 char b[20];
13 p = __builtin___stpcpy_chk (a, "", 2);
14 p = __builtin___stpcpy_chk (&b[16], i ? "e" : "jkl", 4);
15 if (c)
16 foo (i);