[C++ PATCH]: Fix 10158
Mark Mitchell
mark@codesourcery.com
Wed Mar 26 17:47:00 GMT 2003
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@codesourcery.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@codesourcery.com
More information about the Gcc-patches
mailing list