diff --git a/gcc/cp/module.cc b/gcc/cp/module.cc index d2093916c9e..1fd0bcfe3eb 100644 --- a/gcc/cp/module.cc +++ b/gcc/cp/module.cc @@ -18977,8 +18977,8 @@ module_add_import_initializers () if (modules) { tree fntype = build_function_type (void_type_node, void_list_node); - vec *args = NULL; - + releasing_vec args; // There are no args + for (unsigned ix = modules->length (); --ix;) { module_state *import = (*modules)[ix];