------- Comment #4 from goeran at uddeborg dot se 2010-02-24 11:02 ------- Created an attachment (id=19944) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19944&action=view) A different simplification, avoiding the diamond inheritance
The diamond inheritance does not seem to be a requirement. Here is a case simplified in a different way, where there is no diamond inheritance any more. (This one does print "33" rather than a huge number. Still wrong, obviously.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43120