On 05/27/2011 04:22 PM, Nathan Froyd wrote:
+ /* The PARM is not one we're trying to unify. Just check + to see if it matches ARG. */ + int result = !(TREE_CODE (arg) == TREE_CODE (parm) + && cp_tree_equal (parm, arg)); + if (result) + unify_template_parameter_mismatch (explain_p, parm, tparm);
This should be unify_template_argument_mismatch (explain_p, parm, arg); So we can drop unify_template_parameter_mismatch. OK with that change. Jason