This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/32145] [pointer_plus] Ice in build2_stat, at tree.c:3074
- 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: 29 May 2007 21:04:05 -0000
- Subject: [Bug tree-optimization/32145] [pointer_plus] Ice in build2_stat, at tree.c:3074
- References: <bug-32145-14137@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2007-05-29 21:04 -------
And here is a reduced testcase:
void xfs_dir2_grow_inode(void)
{
int map;
int *mapp;
int nmap;
mapp = ↦
if (nmap == 0 )
mapp = ((void *)0);
if (mapp != &map)
kmem_free(mapp);
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32145