c++: Fix build with --enable-gather-detailed-mem-stats.
authorJason Merrill <jason@redhat.com>
Fri, 11 Dec 2020 19:35:20 +0000 (14:35 -0500)
committerJason Merrill <jason@redhat.com>
Fri, 11 Dec 2020 20:39:38 +0000 (15:39 -0500)
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

index f2a01d25d0c4773d3507c53c298c06a5005b9b32..ef5baea62e64b99c09a35e9588c587b91aaa03d8 100644 (file)
@@ -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);