This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]