projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9457454
)
* tree.c (init_tree): Use ARRAY_SIZE.
author
Greg McGary
<greg@mcgary.org>
Fri, 25 Aug 2000 19:07:56 +0000
(19:07 +0000)
committer
Greg McGary
<gkm@gcc.gnu.org>
Fri, 25 Aug 2000 19:07:56 +0000
(19:07 +0000)
From-SVN: r35989
gcc/cp/ChangeLog
patch
|
blob
|
history
gcc/cp/tree.c
patch
|
blob
|
history
diff --git
a/gcc/cp/ChangeLog
b/gcc/cp/ChangeLog
index
7a7514c
..
0f0a150
100644
(file)
--- a/
gcc/cp/ChangeLog
+++ b/
gcc/cp/ChangeLog
@@
-1,3
+1,7
@@
+2000-08-25 Greg McGary <greg@mcgary.org>
+
+ * tree.c (init_tree): Use ARRAY_SIZE.
+
2000-08-25 Gabriel Dos Reis <gdr@codesourcery.com>
* error.c (cp_tree_printer): Rework.
diff --git
a/gcc/cp/tree.c
b/gcc/cp/tree.c
index
01d2fd9
..
cd7d45f
100644
(file)
--- 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);
}