Some initial diagnosis of memtemp89.C [2nd try]
Kriang Lerdsuwanakij
lerdsuwa@usc.edu
Thu Sep 9 17:19:00 GMT 1999
I submitted two patches a few monts ago that fix several template
template parameter bugs. They're archived at
egcs.cygnus.com/ml/gcc-patches/1999-03/msg00000.html
and
egcs.cygnus.com/ml/gcc-pathces/1999-04/msg00341.html
There was a change in the first patch that fixes the
lookup_template_class() function call inside tsubst() you are
investigating. The name Q::X should be lookup only once during the
parsing stage. And there should be no name lookup inside
lookup_template_class() during template argument substitution stage.
I'm not sure this will completely fix the memtemp89.C problem.
--Kriang
More information about the Gcc-bugs
mailing list