[Bug tree-optimization/48837] [4.4/4.5/4.6/4.6 Regression] Wrong optimization of recursive function calls

steven at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun May 1 20:24:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48837

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rakdver at kam dot
                   |                            |mff.cuni.cz

--- Comment #7 from Steven Bosscher <steven at gcc dot gnu.org> 2011-05-01 20:24:11 UTC ---
Zdenek, this problem is caused by your work to handle addends/multiplicands in
tree-tailcall.c. It looks like an interaction problem between tail-calls and
tail-recursion, where elimination tail recursion turns a tail-call into a
normal call.



More information about the Gcc-bugs mailing list