Index: tree-tailcall.c =================================================================== --- tree-tailcall.c (revision 113067) +++ tree-tailcall.c (working copy) @@ -1017,7 +1017,7 @@ execute_tail_calls (void) struct tree_opt_pass pass_tail_recursion = { "tailr", /* name */ - NULL, /* gate */ + gate_tail_calls, /* gate */ execute_tail_recursion, /* execute */ NULL, /* sub */ NULL, /* next */ Index: testsuite/gcc.dg/tree-ssa/tailrecursion-4.c =================================================================== --- testsuite/gcc.dg/tree-ssa/tailrecursion-4.c (revision 113067) +++ testsuite/gcc.dg/tree-ssa/tailrecursion-4.c (working copy) @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O1 -fdump-tree-tailr-details" } */ +/* { dg-options "-O1 -foptimize-sibling-calls -fdump-tree-tailr-details" } */ int t(int a) { Index: testsuite/gcc.dg/tree-ssa/tailrecursion-5.c =================================================================== --- testsuite/gcc.dg/tree-ssa/tailrecursion-5.c (revision 113067) +++ testsuite/gcc.dg/tree-ssa/tailrecursion-5.c (working copy) @@ -1,5 +1,5 @@ /* { dg-do run } */ -/* { dg-options "-O1 -fdump-tree-optimized" } */ +/* { dg-options "-O1 -foptimize-sibling-calls -fdump-tree-optimized" } */ extern void abort (void); extern void exit (int); Index: testsuite/gcc.dg/tree-ssa/tailrecursion-1.c =================================================================== --- testsuite/gcc.dg/tree-ssa/tailrecursion-1.c (revision 113067) +++ testsuite/gcc.dg/tree-ssa/tailrecursion-1.c (working copy) @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O1 -fdump-tree-tailr-details" } */ +/* { dg-options "-O1 -foptimize-sibling-calls -fdump-tree-tailr-details" } */ int t(int a) { Index: testsuite/gcc.dg/tree-ssa/tailrecursion-2.c =================================================================== --- testsuite/gcc.dg/tree-ssa/tailrecursion-2.c (revision 113067) +++ testsuite/gcc.dg/tree-ssa/tailrecursion-2.c (working copy) @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O1 -fdump-tree-tailr-details" } */ +/* { dg-options "-O1 -foptimize-sibling-calls -fdump-tree-tailr-details" } */ int t(char *a) { Index: testsuite/gcc.dg/tree-ssa/tailrecursion-3.c =================================================================== --- testsuite/gcc.dg/tree-ssa/tailrecursion-3.c (revision 113067) +++ testsuite/gcc.dg/tree-ssa/tailrecursion-3.c (working copy) @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O1 -fdump-tree-tailr-details" } */ +/* { dg-options "-O1 -foptimize-sibling-calls -fdump-tree-tailr-details" } */ int t(int a) {