[Bug tree-optimization/48837] [4.4/4.5/4.6 Regression] Wrong optimization of recursive function calls
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue May 10 08:49:00 GMT 2011
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 <ook@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
More information about the Gcc-bugs
mailing list