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: "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: 13 Dec 2004 22:22:52 -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 pinskia at gcc dot gnu dot org 2004-12-13 22:22 -------
Here is another slightly different reduced testcase:
template<class T> struct F
{
F(): m_pObj(0) {}
template<class U> F(F<U> const & rhs): m_pObj(rhs.m_pObj)
{
G(m_pObj);
}
T * m_pObj;
};
struct Atomic_t {int i;};
inline void G(Atomic_t * p) { p->i++; }
struct X: public virtual Atomic_t {};
struct Y: public X {};
void copy_constructor()
{
F<Y> py;
F<X> px1(py);
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18968