This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] Fix bug 5116
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Nathan Sidwell <nathan at codesourcery dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 31 Dec 2001 09:10:55 -0800
- Subject: Re: [C++ PATCH] Fix bug 5116
--On Monday, December 31, 2001 04:37:00 PM +0000 Nathan Sidwell
<nathan@codesourcery.com> wrote:
> Hi,
> this fixes bug 5116 where we failed to find a friend operator. I believe
> that, if the operands to an operator have templated class type, they
> should be instantiated at that point, because their instantiation can
> affect the meaning of the program.
>
> built & tested on i686-pc-linux-gnu, ok?
Yes.
Is there anything special about calling operator functions, or
should this be done for all functions?
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com