This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/16225] [3.5 regression] ICE: verify_ssa failed.
- 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: 27 Jun 2004 08:54:15 -0000
- Subject: [Bug tree-optimization/16225] [3.5 regression] ICE: verify_ssa failed.
- References: <20040627065304.16225.debian-gcc@lists.debian.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-27 08:54 -------
Confirmed, here is the reduced testcase:
typedef unsigned long uint32;
int ntbl_bitcnt(uint32 x);
int btbl_bitcnt(uint32 x);
char bits[256];
int btbl_bitcnt(uint32 x)
{
int cnt = bits[ ((char *)&x)[0] & 0xFF ];
if (0L != (x >>= 8))
cnt += btbl_bitcnt(x);
return cnt;
}
I think this is caused by tail recursion.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-06-27 08:54:15
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16225