------- Comment #3 from jwakely dot gcc at gmail dot com 2009-08-07 12:31 ------- Adding this to Bart::InnerBart::getOuter(): cout << "BaseIf1: " << (BaseIf*)&outer << endl; and this to Bar::InnerBar::getVal(): cout << "BaseIf2: " << (BaseIf*)&bar << endl; shows different values for the BaseIf base, which should be unique and unambiguous as it is virtually inherited.
BaseIf1: 0x7fff86f73460 BaseIf2: 0x7fff86f73478 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40997