Hi,
this patch remvoes the annotation which causes the build to fail when
configured with --enable-gather-detailed-mem-stats. I am very familiar
with the mem stat system yet, so I'd leave annotating these functions
for a future patch.
Bootstrapped on x86_64-linux. OK for master?
Best regards,
Josef
gcc/ChangeLog:
* attr-callback.cc (callback_build_attr): Remove erroneous
annotation.
Signed-off-by: Josef Melcr <[email protected]>
---
gcc/attr-callback.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/attr-callback.cc b/gcc/attr-callback.cc
index 83d27544150..ee39ef61a20 100644
--- a/gcc/attr-callback.cc
+++ b/gcc/attr-callback.cc
@@ -48,7 +48,7 @@ callback_build_attr (unsigned fn_idx, unsigned arg_count...)
{
int num = va_arg (args, int);
tree tnum = build_int_cst (integer_type_node, num);
- *pp = build_tree_list (NULL, tnum PASS_MEM_STAT);
+ *pp = build_tree_list (NULL, tnum);
pp = &TREE_CHAIN (*pp);
}
cblist
--
2.51.1.dirty