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] |
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?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |