diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/pt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 8d15cb0..a96b534 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -520,7 +520,7 @@ determine_specialization (template_id, decl, targs_out, else if (TREE_CODE (fn) != TEMPLATE_DECL || (need_member_template && !is_member_template (fn))) { - if (decls_match (decl, fn)) + if (decls_match (decl, fn) && 0) { cp_error ("`template <>' applied to non-specialization `%D'", fn); |