[g++ 2.95.1] problem with pointers to virtual methods
Nathan Sidwell
nathan@acm.org
Tue Nov 30 23:39:00 GMT 1999
Jean-Francois MOINE wrote:
>
> /*
> * GNU g++ 2.95.1 - problem with pointers to virtual methods.
> *
> * Bad code generation for calling a virtual method of a
> * derivated class througth a pointer of the base class when
> * this base class has no virtual methods.
the development branch nbow prints,
val:1
IIR, Martin von Loewis fixed this, and it'll appear in the next release.
nathan
--
Dr Nathan Sidwell :: Computer Science Department :: Bristol University
Never hand someone a gun unless you are sure where they will point it
nathan@acm.org http://www.cs.bris.ac.uk/~nathan/ nathan@cs.bris.ac.uk
More information about the Gcc-bugs
mailing list