http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58209
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 30684
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30684&action=edit
gcc49-pr58209.patch
Untested fix for this tail recursion bug.
For the release branches, I think better might be just to apply only the
testcase and find_tail_calls hunk with (m || a) instead of m in the added
condition.