[Bug rtl-optimization/15108] [3.5 Regression] [tree-ssa] [regression] missed sib-calling for pointer changes

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jun 7 18:35:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-07 18:35 -------
Here is the testcase I would add to the testsuite so this does not happen again:
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-tailc-details" } */
void *t();
char *f()
{
  return t();
}
/* { dg-final { scan-tree-dump-times "Found tail call" 1 "tailc"} } */

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15108



More information about the Gcc-bugs mailing list