[Bug tree-optimization/14440] [3.5 regression] no sib calling with _Bool types
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jun 7 18:37:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list