middle-end/122392 - Remove erroneous PASS_MEM_STAT annotation.

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.

gcc/ChangeLog:

	PR middle-end/122392
	* attr-callback.cc (callback_build_attr): Remove erroneous
	annotation.

Signed-off-by: Josef Melcr <jmelcr02@gmail.com>
This commit is contained in:
Josef Melcr
2025-10-24 11:12:44 +02:00
parent b7b2b199b1
commit 5bfa8d3a3d

View File

@@ -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