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

rakdver at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 4 08:43:00 GMT 2011


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

--- Comment #8 from Zdenek Dvorak <rakdver at gcc dot gnu.org> 2011-05-04 08:33:51 UTC ---
Created attachment 24177
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24177
Fix for the issue

Indeed, once the accumulator transformation is performed, the other tail calls
in the function are moved to non-tail positions.



More information about the Gcc-bugs mailing list