On 03/29/2012 08:30 AM, Jakub Jelinek wrote:
The recently added assert in mangle.c doesn't like mangling to be performed
during processing_template_decl.  With #pragma weak foo we can hit it
unfortunately.  This patch fixes that.  Perhaps we could call
maybe_apply_pragma_weak from pt.c when instantiating, though not sure
how much useful will that be, aren't most templates weak already anyway?

Yeah, doesn't seem that useful.  The patch is OK.


Reply via email to