This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/18968] [4.0 regression] ICE: tree check: expected ssa_name, have addr_expr in vrp_hash
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Dec 2004 22:17:50 -0000
- Subject: [Bug tree-optimization/18968] [4.0 regression] ICE: tree check: expected ssa_name, have addr_expr in vrp_hash
- References: <20041213212814.18968.schwab@suse.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-12-13 22:17 -------
Confirmed. Here's a reduced testcase:
====================================
struct X
{
int i;
};
struct Y : virtual X {};
struct Z : Y {};
void foo(X* q) { if (q) q->i++; }
struct A
{
Z* p;
A() : p(0) { foo((Y*)p); }
};
A a;
====================================
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |monitored
Last reconfirmed|0000-00-00 00:00:00 |2004-12-13 22:17:49
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18968