PR testsuite/41542
[official-gcc/alias-decl.git] / gcc / testsuite / gcc.dg / tree-ssa / ipa-cp-1.c
blob5f126363124196ce357d37cd3cca2ff4699149bb
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -fdump-tree-optimized -fno-inline" } */
3 int
4 very_long_function(int a)
6 return very_long_function (a)/4;
8 main()
10 very_long_function (1);
12 /* One appereance for dump, one self recursive call and one call from main. */
13 /* { dg-final { scan-tree-dump-times "very_long_function.clone.0 \\(\\)" 3 "optimized"} } */
14 /* { dg-final { cleanup-tree-dump "optimized" } } */