This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/23984] [4.0/4.1 Regression] second operand of PLUS_EXPR is NULL (in constructor)
- 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: 20 Sep 2005 18:04:57 -0000
- Subject: [Bug c++/23984] [4.0/4.1 Regression] second operand of PLUS_EXPR is NULL (in constructor)
- References: <20050920174448.23984.amylaar@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-20 18:04 -------
Here is a slightly reduced testcase:
struct b {
virtual int c (void) = 0;
};
struct d:virtual b {
d (void);
int c (void) ;
};
struct e {
e (b *f);
};
struct g : d, e {
g () : e (this) {}
};
g *a1 = new g ();
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23984