This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: C++ PATCH for c++/34870 (argument-dependent lookup and class templates)


On Wed, Dec 23, 2009 at 1:14 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Thu, Nov 5, 2009 at 7:38 PM, Jason Merrill <jason@redhat.com> wrote:
>> We need to call complete_type on associated classes before we try to look
>> through their friend lists. ?Doing that required a change to
>> instantiate_class_template to use uses_template_parms (which works when
>> processing_template_decl is false) rather than dependent_type_p (which
>> doesn't) in order to avoid trying to instantiate the template pattern
>> itself.
>>
>> Tested x86_64-pc-linux-gnu, applied to trunk.
>>
>
> This caused infinite recursion:
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41305
>

This also caused:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43775

-- 
H.J.


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