From 8bab7dce62e321e722346ba2db2d381bdf3fbe4b Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Fri, 11 Dec 2020 14:35:20 -0500 Subject: [PATCH] c++: Fix build with --enable-gather-detailed-mem-stats. Nathan's recent patch added make_binding_vec defined with MEM_STAT_DECL, but didn't add the parallel decoration to the forward declaration. gcc/cp/ChangeLog: * cp-tree.h (make_binding_vec): Add CXX_MEM_STAT_INFO. --- gcc/cp/cp-tree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index f2a01d25d0c..ef5baea62e6 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -7626,7 +7626,7 @@ extern tree hash_tree_cons (tree, tree, tree); extern tree hash_tree_chain (tree, tree); extern tree build_qualified_name (tree, tree, tree, bool); extern tree build_ref_qualified_type (tree, cp_ref_qualifier); -extern tree make_binding_vec (tree, unsigned clusters); +extern tree make_binding_vec (tree, unsigned clusters CXX_MEM_STAT_INFO); inline tree ovl_first (tree) ATTRIBUTE_PURE; extern tree ovl_make (tree fn, tree next = NULL_TREE); -- 2.30.2