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]

Re: g++ bug on Linux/Alpha: incorrect this pointer in virtual inheritance


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



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