[Bug tree-optimization/77938] missing tailcall optimization in case when local variable escapes that goes out of scope before the possible tail call site

vanyacpp at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Oct 17 09:48:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77938

--- Comment #5 from Ivan Sorokin <vanyacpp at gmail dot com> ---
(In reply to Andrew Pinski from comment #4)
> Related (maybe a dup really) to PR 59813.

I agree. The linked bug is just another manifestation of the same issue.

Regarding my question about excessive stack frame allocation (see my comment
#1). I checked and found out that clang allocates only 8 bytes instead of 24
(of gcc). Is this a well known issue or should I file a bug report?


More information about the Gcc-bugs mailing list