c++ template bug

Alexandre Oliva oliva@dcc.unicamp.br
Wed Jul 29 14:24:00 GMT 1998


Mark Mitchell <mark@markmitchell.com> writes:

>>>>>> "Alexandre" == Alexandre Oliva <oliva@dcc.unicamp.br> writes:

root> template<class T> class A { public: void f(); }; class B :
root> public A<int> { public: void f(); }; int main() { B b; B& b1
root> = b; b1.A<int>::f(); }

Alexandre> What do you mean?  With the latest snapshot

> Well, with what's in CVS, I still seem to get:
[snip]
> So, either one of us is crazy :-), or something's different between
> the snapshot and the CVS tree, or ???

There's certainly something different between the snapshot and the
current egcs 1.1 branch.  Actually, in the branch, there are several
ChangeLog entries prior to the snapshot date that are not included in
the snapshot, but I can't seem to find out which of those might have
introduced the problem.  :-(

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil




More information about the Gcc-bugs mailing list