[Bug c++/23984] [4.0/4.1 Regression] second operand of PLUS_EXPR is NULL (in constructor)

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Sep 20 18:05:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list