diff options
Diffstat (limited to 'gcc/cp/pt.c')
-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 b7d72c1045a..4ca94d6a895 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -1941,7 +1941,7 @@ determine_specialization (tree template_id, { error ("ambiguous template specialization %qD for %q+D", template_id, decl); - chainon (candidates, templates); + candidates = chainon (candidates, templates); print_candidates (candidates); return error_mark_node; } |