aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/tree-prof/pr52027.c
blob: c46a14b2e86c37e3521b0de849f7b5871e6017fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* PR debug/52027 */
/* { dg-require-effective-target freorder } */
/* { dg-options "-O2 -freorder-blocks-and-partition -fno-reorder-functions" } */

void
foo (int len)
{
  char array[1000];
  __builtin_memset (array, 0, len);
}

int
main ()
{
  int i;
  for (i = 0; i < 1000; i++)
    foo (8);
  return 0;
}