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++/37540


On Thu, Nov 20, 2008 at 10:40 AM, Jason Merrill <jason@redhat.com> wrote:
> The problem here was that we weren't preserving the type of a non-dependent
> call in a template well enough; we need to remember the type of the called
> function as well, and it needs to be a pointer. Fixed thus.  I also wrap the
> call in an implicit dereference as appropriate rather than just giving the
> stub CALL_EXPR the dereferenced type; I'm not sure this will make a
> difference, but it might affect something that wants to know if the call is
> an lvalue or not.
>
> Tested x86_64-pc-linux-gnu, applied to trunk.
>
>

Hi,

This caused:

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


-- 
H.J.


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