projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d134295
)
* tree-cfg.c (thread_jumps): Reduce the size of WORKLIST.
author
Kazu Hirata
<kazu@cs.umass.edu>
Thu, 2 Dec 2004 16:47:16 +0000
(16:47 +0000)
committer
Kazu Hirata
<kazu@gcc.gnu.org>
Thu, 2 Dec 2004 16:47:16 +0000
(16:47 +0000)
From-SVN: r91648
gcc/ChangeLog
patch
|
blob
|
history
gcc/tree-cfg.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 5e1c3374e5c0986a1cd5ec87964b6ec95edd15ea..e736bfc2fdab4879858b2d417f01ee54d55b693a 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-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.
diff --git
a/gcc/tree-cfg.c
b/gcc/tree-cfg.c
index 3e046194114d2017be846444897804aa5c2f2470..fc73adc014f9a067e0d89b705ab7f73e64d611c1 100644
(file)
--- 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)