]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gcc.dg/tree-ssa/tailrecursion-8.c
Fix profile update in tree_transform_and_unroll_loop
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / tailrecursion-8.c
CommitLineData
ea418485
AP
1/* { dg-do compile } */
2/* { dg-options "-O1 -foptimize-sibling-calls -fdump-tree-tailr1-details" } */
3
4struct A {};
5
6struct A foo()
7{
8 return foo();
9}
10
11/* { dg-final { scan-tree-dump-times "Eliminated tail recursion" 1 "tailr1"} } */