]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/tree-ssa/tailcall-10.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / tailcall-10.c
CommitLineData
ea418485
AP
1/* { dg-do compile } */
2/* { dg-options "-O2 -fdump-tree-tailc-details" } */
3
4struct A {};
5
6struct A goo(void);
7struct A foo(void)
8{
9 return goo();
10}
11
12/* { dg-final { scan-tree-dump-times "Found tail call" 1 "tailc"} } */