* lib/gl_anyavltree_list1.h (struct gl_list_impl): Mark the table field
as counted_by table_size. Swap these fields (needed for clang).
+2026-05-03 Bruno Haible <bruno@clisp.org>
+
+ avltreehash-list: Use the counted_by attribute.
+ * lib/gl_anyavltree_list1.h (struct gl_list_impl): Mark the table field
+ as counted_by table_size. Swap these fields (needed for clang).
+
2026-05-03 Bruno Haible <bruno@clisp.org>
carray-list: Use the counted_by attribute.
struct gl_list_impl_base base;
#if WITH_HASHTABLE
/* A hash table: managed as an array of collision lists. */
- struct gl_hash_entry **table;
size_t table_size;
+ struct gl_hash_entry **table
+ _GL_ATTRIBUTE_COUNTED_BY (table_size);
#endif
struct gl_list_node_impl *root; /* root node or NULL */
};