This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]