aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-cfg.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-12-02 16:47:16 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-12-02 16:47:16 +0000
commit29cc8719442de91f039722f5be4b18f541c1543c (patch)
tree3db059b01396842eb2aa27938a7051b3151ed089 /gcc/tree-cfg.c
parentd134295fc55c22292bc86e9dfb70bf9bdb5f7b47 (diff)
downloadgcc-29cc8719442de91f039722f5be4b18f541c1543c.zip
gcc-29cc8719442de91f039722f5be4b18f541c1543c.tar.gz
gcc-29cc8719442de91f039722f5be4b18f541c1543c.tar.bz2
* tree-cfg.c (thread_jumps): Reduce the size of WORKLIST.
From-SVN: r91648
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r--gcc/tree-cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c
index 3e04619..fc73adc 100644
--- a/gcc/tree-cfg.c
+++ b/gcc/tree-cfg.c
@@ -4106,7 +4106,7 @@ thread_jumps (void)
{
basic_block bb;
bool retval = false;
- basic_block *worklist = xmalloc (sizeof (basic_block) * last_basic_block);
+ basic_block *worklist = xmalloc (sizeof (basic_block) * n_basic_blocks);
basic_block *current = worklist;
FOR_EACH_BB (bb)