re PR tree-optimization/48837 (Wrong optimization of recursive function calls)
authorZdenek Dvorak <ook@ucw.cz>
Sat, 7 May 2011 19:43:18 +0000 (21:43 +0200)
committerZdenek Dvorak <rakdver@gcc.gnu.org>
Sat, 7 May 2011 19:43:18 +0000 (19:43 +0000)
commit1400c8e5013a0901298b3adfeb9c5dbfcef2f494
tree691ff75d958a92205fca691305a1ba3940706a5e
parent5d0878e70dc34446015c4f2908869ad9e85cab8c
re PR tree-optimization/48837 (Wrong optimization of recursive function calls)

PR tree-optimization/48837
* tree-tailcall.c (tree_optimize_tail_calls_1): Do not mark tailcalls
when accumulator transformation is performed.

* gcc.dg/pr48837.c: New testcase.

From-SVN: r173534
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr48837.c [new file with mode: 0644]
gcc/tree-tailcall.c