diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree-ssa-pre.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index db4c18e..2b59e0f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-10-08 Diego Novillo <dnovillo@redhat.com> + + * tree-ssa-pre.c (init_pre): Use size of ARRAY_REF to allocate + reference_node_pool. + 2004-10-08 Kazu Hirata <kazu@cs.umass.edu> * tree-cfg.c: Fix a comment typo. diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c index 3d505b5..c5757fb 100644 --- a/gcc/tree-ssa-pre.c +++ b/gcc/tree-ssa-pre.c @@ -1941,7 +1941,7 @@ init_pre (void) unary_node_pool = create_alloc_pool ("Unary tree nodes", tree_code_size (NEGATE_EXPR), 30); reference_node_pool = create_alloc_pool ("Reference tree nodes", - tree_code_size (COMPONENT_REF), 30); + tree_code_size (ARRAY_REF), 30); FOR_ALL_BB (bb) { EXP_GEN (bb) = set_new (true); |