* tree-ssa-pre.c (init_pre): Use size of ARRAY_REF to allocate
authordnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Oct 2004 18:02:26 +0000 (18:02 +0000)
committerdnovillo <dnovillo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 8 Oct 2004 18:02:26 +0000 (18:02 +0000)
reference_node_pool.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88769 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-ssa-pre.c

index db4c18e..2b59e0f 100644 (file)
@@ -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.
index 3d505b5..c5757fb 100644 (file)
@@ -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);