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 tree-optimization/14440] [3.5 regression] no sib calling with _Bool types


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

-- 


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


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