diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 7a7514ccf33..0f0a15082aa 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2000-08-25 Greg McGary + + * tree.c (init_tree): Use ARRAY_SIZE. + 2000-08-25 Gabriel Dos Reis * error.c (cp_tree_printer): Rework. diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index 01d2fd94b76..cd7d45f0d29 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -2376,7 +2376,7 @@ init_tree () make_lang_type_fn = cp_make_lang_type; lang_unsave = cp_unsave; ggc_add_root (list_hash_table, - sizeof (list_hash_table) / sizeof (struct list_hash *), + ARRAY_SIZE (list_hash_table), sizeof (struct list_hash *), mark_list_hash); }