This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: g++ bug on Linux/Alpha: incorrect this pointer in virtual inheritance
- To: Sai-Lai Lo <S dot Lo at orl dot co dot uk>
- Subject: Re: g++ bug on Linux/Alpha: incorrect this pointer in virtual inheritance
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 25 Aug 1998 19:40:15 -0300
- Cc: egcs-bugs at cygnus dot com, sll at cam-orl dot co dot uk, Jeffrey A Law <law at cygnus dot com>
- References: <199808251018.LAA01550@santaka.cam-orl.co.uk>
Sai-Lai Lo <S.Lo@orl.co.uk> writes:
> Compiler: egcs-980802
> No optimisation.
> On alpha linux, the behaviour is incorrect, the 'this' pointer is *wrong*
> in the virtual function that returns a struct.
I get the expected output on RedHat Linux 5.1/alpha, with the latest
snapshot of egcs. The problem must have been fixed.
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil