1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-tailc-details" } */
4 __attribute__((noinline
))
5 static float f(float x
)
10 static double g(float x
)
12 return x
>0 ? f(x
) : x
+1.0;
20 /* { dg-final { scan-tree-dump "Found tail call" "tailc" } } */