summaryrefslogtreecommitdiffstats
path: root/gcc/cp/pt.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/pt.c')
-rw-r--r--gcc/cp/pt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index a832846050d..aaecabcbc45 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -822,7 +822,7 @@ retrieve_specialization (tree tmpl, tree args,
{
tree class_template;
tree class_specialization;
- VEC(tree) *methods;
+ VEC(tree,gc) *methods;
tree fns;
int idx;
@@ -1967,7 +1967,7 @@ check_explicit_specialization (tree declarator,
}
else
{
- VEC(tree) *methods;
+ VEC(tree,gc) *methods;
tree ovl;
/* For a type-conversion operator, we cannot do a
OpenPOWER on IntegriCloud