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++/56358 (inheriting ctors breaking lookup)


On Wed, Feb 27, 2013 at 10:37 AM, Jason Merrill <jason@redhat.com> wrote:
> We were trying to keep the USING_DECL for an inheriting constructor from
> interfering with name lookup, but it still did.  It occurred to me that the
> obvious way to avoid it interfering with the name of the base is to give the
> USING_DECL the constructor name, and then we can remove some of the special
> handling.
>
> Tested x86_64-pc-linux-gnu, applying to trunk.

I like it when a bug fix consists of removing code or running less code :-)

-- Gaby


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