From: Jason Merrill Date: Fri, 11 Dec 2020 19:35:20 +0000 (-0500) Subject: c++: Fix build with --enable-gather-detailed-mem-stats. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8bab7dce62e321e722346ba2db2d381bdf3fbe4b;p=gcc.git 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. --- 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);