This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH]: Fix 10158
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 26 Mar 2003 09:34:12 -0800
- Subject: Re: [C++ PATCH]: Fix 10158
- References: <3E81B96D.8050604@codesourcery.com>
On Wed, 2003-03-26 at 06:30, Nathan Sidwell wrote:
> Mark,
> this fixes 10158, a 3.4 & 3.4 regression, which was caused by,
> 2002-11-30 Mark Mitchell <mark at codesourcery dot com>
>
> PR c++/8511
> * pt.c (instantiate_decl): Handle template friends defined outside
> of the class correctly
> unfortunately, that broke in-template-class definitions of template friends.
> Whilst this patch is fairly obvious, it does extend the meaning of
> DECL_INITIALIZED_IN_CLASS_P - you happy with that? This patch is for HEAD,
> the 3.3 patch is the same, modulo the parser related bit.
Looks good to me! Thanks!
--
Mark Mitchell
CodeSourcery, LLC
mark at codesourcery dot com