summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-pre.c
diff options
context:
space:
mode:
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-08 18:02:26 +0000
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-08 18:02:26 +0000
commit669bda84698b6d10485f24f624979c102ef56c50 (patch)
tree85d93c59692929aa62e1ba70ab0f0fa3f6d8100b /gcc/tree-ssa-pre.c
parent1b28312dd876c2ad6eaa14e23c0e0821cd5188d3 (diff)
downloadgcc-669bda84698b6d10485f24f624979c102ef56c50.tar.gz
* tree-ssa-pre.c (init_pre): Use size of ARRAY_REF to allocate
reference_node_pool. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88769 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-pre.c')
-rw-r--r--gcc/tree-ssa-pre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-pre.c b/gcc/tree-ssa-pre.c
index 3d505b5579b..c5757fb9aee 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);