This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: covariant returns and multiple inheritance.
- To: "Alexander Rozenman" <shure at sd dot co dot il>
- Subject: Re: covariant returns and multiple inheritance.
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 31 Jul 2001 00:36:44 -0300
- Cc: <gcc at gcc dot gnu dot org>
- Organization: GCC Team, Red Hat
- References: <04c501c118ca$b600a300$87d3b58b@darkstar>
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