summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/ipa/inlinehint-2.c
blob: a06d725562948e54cf674d4a802883daec262411 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-options "-O3 -c -fdump-ipa-inline-details -fno-early-inlining -fno-ipa-cp"  } */
t(int s, void **p)
{
  int i;
  for (i;i<10000;i+=s)
    p[i]=0;
}
m(void **p)
{
  t (10, p);
}
/* { dg-final { scan-ipa-dump "loop_stride"  "inline"  } } */
/* { dg-final { cleanup-ipa-dump "inline" } } */