Debian Codegraph @

gcc/testsuite/gcc.dg/tree-ssa/tailcall-13.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-tailc-details" } */
3
4 struct A {};
5 struct B{};
6
7 struct B goo(void);
8 struct A foo(void)
9 {
10 struct A a;
11 goo();
12 return a;
13 }
14
15 /* { dg-final { scan-tree-dump-times "Found tail call" 1 "tailc"} } */