------- Comment #8 from mmitchel at gcc dot gnu dot org 2006-10-16 18:36 ------- The problem here is that tsubst, for a TEMPLATE_TEMPLATE_PARM, reduces the parameter level for the new TEMPLATE_TEMPLATE_PARM (via a call to reduce_template_parm_level), but does not reset TEMPLATE_TEMPLATE_PARM_TEMPLATE_DECL to a substituted version of the template. Therefore, when we consider merging the friend declaration and the global declaration, we think that there types are different.
-- mmitchel at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2006-10-10 04:11:45 |2006-10-16 18:36:50 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29236