PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-prof / pr52027.c
blobc46a14b2e86c37e3521b0de849f7b5871e6017fa
1 /* PR debug/52027 */
2 /* { dg-require-effective-target freorder } */
3 /* { dg-options "-O2 -freorder-blocks-and-partition -fno-reorder-functions" } */
5 void
6 foo (int len)
8 char array[1000];
9 __builtin_memset (array, 0, len);
12 int
13 main ()
15 int i;
16 for (i = 0; i < 1000; i++)
17 foo (8);
18 return 0;