This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH for c++/38850
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 12 Feb 2009 18:38:23 -0800
- Subject: Re: C++ PATCH for c++/38850
- References: <49701546.4000509@redhat.com>
On Thu, Jan 15, 2009 at 9:04 PM, Jason Merrill <jason@redhat.com> wrote:
> This was caused by my patch for 38030, which clears KOENIG_LOOKUP_P on a
> non-dependent call since we do the necessary arg-dependent lookup at
> template parsing time and don't want to repeat it at instantiation time.
> But then at instantiation time build_new_function_call was stripping out
> the function that we found because it can only be found by arg-dependent
> lookup. So we need to tell it that it doesn't need to do that.
>
> Tested x86_64-pc-linux-gnu, applied to trunk. I'll apply it to 4.2 and 4.3
> as well after testing, since I applied the 38030 patch there.
>
This patch caused:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39070
--
H.J.