This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/23382] [4.1 Regression] Does not remove the old HEAP virtual variables in clobbered
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Oct 2005 14:50:29 -0000
- Subject: [Bug tree-optimization/23382] [4.1 Regression] Does not remove the old HEAP virtual variables in clobbered
- References: <bug-23382-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from rguenth at gcc dot gnu dot org 2005-10-17 14:50 -------
Confirmed. Reduced testcase:
struct a
{
int length;
int a1[256];
};
void *malloc(long size) __attribute__((malloc));
void f(void)
{
struct a *a = malloc(sizeof(struct a));
}
we pile up heap variables: (t62.alias5)
<bb 0>:
# HEAP.5D.1297_4 = V_MAY_DEF <HEAP.5D.1297_3>;
# HEAP.11D.1303_5 = V_MAY_DEF <HEAP.11D.1303_2>;
# HEAP.17D.1309_7 = V_MAY_DEF <HEAP.17D.1309_6>;
# HEAP.23D.1315_9 = V_MAY_DEF <HEAP.23D.1315_8>;
# HEAP.29D.1321_11 = V_MAY_DEF <HEAP.29D.1321_10>;
D.1287_1 = malloc (1028);
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2005-10-17 14:50:29
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23382