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 rtl-optimization/15108] [3.5 Regression] [tree-ssa] [regression] missed sib-calling for pointer changes


------- 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


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