OSDN Git Service

* vec.h: Update API to separate allocation mechanism from type.
[pf3gnuchains/gcc-fork.git] / gcc / cp / pt.c
index a832846..aaecabc 100644 (file)
@@ -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