This is the mail archive of the gcc@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]

Re: covariant returns and multiple inheritance.


On Jul 30, 2001, "Alexander Rozenman" <shure@sd.co.il> wrote:

> I wrote very simple test case for covariant return types in C++.
> The compilation with gcc 3.0 (sparc-solaris) was successful, 
> but when I run my a.out I get very strange result - the pointers 
> 'b' and 'b->getThis()' are different.

Would you please submit this bug report with gnats?  It does indeed
expose a bug in GCC.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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