* tree-cfg.c (thread_jumps): Reduce the size of WORKLIST.

From-SVN: r91648
This commit is contained in:
Kazu Hirata 2004-12-02 16:47:16 +00:00 committed by Kazu Hirata
parent d134295fc5
commit 29cc871944
2 changed files with 3 additions and 1 deletions

View File

@ -6,6 +6,8 @@
* tree-cfg.c (phi_alternatives_equal): Check that PHI_ARG_DEF
is not null.
* tree-cfg.c (thread_jumps): Reduce the size of WORKLIST.
2004-12-02 Jeff Law <law@redhat.com>
* tree-eh.c: Revert yesterday's change.

View File

@ -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)