[Bug c++/54770] sibling call optimization is not applied where it ought to be

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 17 12:27:00 GMT 2012


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 ();
}



More information about the Gcc-bugs mailing list