This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/14440] [3.5 regression] no sib calling with _Bool types
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jun 2004 18:37:16 -0000
- Subject: [Bug tree-optimization/14440] [3.5 regression] no sib calling with _Bool types
- References: <20040305061854.14440.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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