This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Some initial diagnosis of memtemp89.C [2nd try]
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Re: Some initial diagnosis of memtemp89.C [2nd try]
- From: Kriang Lerdsuwanakij <lerdsuwa at usc dot edu>
- Date: Thu, 9 Sep 1999 17:17:37 -0700 (PDT)
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