1 /* { dg-do compile { target trampolines } } */
2 /* { dg-options "-O2 -fdump-tree-tailc-details" } */
7 void callit (void (*) (void));
16 /* Not a tail call. */
23 /* Not a tail call. */
42 struct s local
= f (5);
53 /* Not a tail call. */
57 struct s local
= f (7);
62 /* Not a tail call. */
66 struct s local
= f (8);
71 /* Not a tail call. */
75 void inner (void) { param
= f (9); }
84 void inner (void) { f (param
); }
89 /* { dg-final { scan-tree-dump-times "Found tail call" 5 "tailc" } } */