Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / tailcall-9.c
blobc67120fe773ac0e7c686f6a1f99ea4c8ff4f4f48
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-tailc-details" } */
4 __attribute__((noinline))
5 static float f(float x)
7 return x*x;
10 static double g(float x)
12 return x>0 ? f(x) : x+1.0;
15 float foo(float x)
17 return g(x);
20 /* { dg-final { scan-tree-dump "Found tail call" "tailc" } } */