aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/gcc.dg/tree-prof/pr52027.c
blob: c12f8b484e109d5ee3b3df4a6b480f341e5e9091 (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 "-O -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;
}