http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48837
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-05-10 08:45:56 UTC --- Author: jakub Date: Tue May 10 08:45:50 2011 New Revision: 173610 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173610 Log: Backported from mainline 2011-05-07 Zdenek Dvorak <o...@ucw.cz> 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. Added: branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/pr48837.c Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/testsuite/ChangeLog branches/gcc-4_5-branch/gcc/tree-tailcall.c