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 7c12f9c597a..f7e27ce5d02 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -9070,7 +9070,7 @@ most_specialized_class (tmpl, args) = get_class_bindings (TREE_VALUE (t), TREE_PURPOSE (t), args); if (spec_args) { - list = decl_tree_cons (TREE_PURPOSE (t), TREE_VALUE (t), list); + list = tree_cons (TREE_PURPOSE (t), TREE_VALUE (t), list); TREE_TYPE (list) = TREE_TYPE (t); } } |