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++/43120] Diamond virtual inheritence with covariant return type confuses GCC



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


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