This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54770] sibling call optimization is not applied where it ought to be
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 17 Oct 2012 12:27:15 +0000
- Subject: [Bug c++/54770] sibling call optimization is not applied where it ought to be
- Auto-submitted: auto-generated
- References: <bug-54770-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54770
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-10-17 12:27:15 UTC ---
It is just that though, a workaround, it doesn't workaround say:
void bar (char *);
int baz ();
int
foo ()
{
{
char buf[64];
bar (buf);
}
return baz ();
}