* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-prof / pr47187.c
blob467ce252b060e13486eac8fe7a7bbd08baad9236
1 /* PR bootstrap/47187 */
2 /* { dg-options "-O2" } */
4 char buf[64];
5 char buf2[64];
7 void *
8 foo (char *p, long size)
10 return __builtin_memcpy (buf, p, size);
13 int
14 main (void)
16 long i;
17 for (i = 0; i < 65536; i++)
18 if (foo ("abcdefghijkl", 12) != buf)
19 __builtin_abort ();
20 if (foo (buf2, 64) != buf)
21 __builtin_abort ();
22 return 0;