summaryrefslogtreecommitdiff
path: root/gcc/tree-into-ssa.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-25 15:17:12 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-25 15:17:12 +0000
commit1281fc1b8b24fe956e861dcfa71e388df43e47b2 (patch)
treef77ceb374d78ca79aca47a1754da6dd28317492c /gcc/tree-into-ssa.c
parent97d525333286de10d5af2093af66eea94bdfd81e (diff)
downloadgcc-1281fc1b8b24fe956e861dcfa71e388df43e47b2.tar.gz
* tree-into-ssa.c (rewrite_into_ssa, update_ssa): Replace
sizeof (bitmap *) with sizeof (bitmap). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100152 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-into-ssa.c')
-rw-r--r--gcc/tree-into-ssa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-into-ssa.c b/gcc/tree-into-ssa.c
index 4a95072414d..03561bacf3c 100644
--- a/gcc/tree-into-ssa.c
+++ b/gcc/tree-into-ssa.c
@@ -1750,7 +1750,7 @@ rewrite_into_ssa (void)
sbitmap_zero (interesting_blocks);
/* Initialize dominance frontier. */
- dfs = (bitmap *) xmalloc (last_basic_block * sizeof (bitmap *));
+ dfs = (bitmap *) xmalloc (last_basic_block * sizeof (bitmap));
FOR_EACH_BB (bb)
dfs[bb->index] = BITMAP_ALLOC (NULL);
@@ -2736,7 +2736,7 @@ update_ssa (unsigned update_flags)
/* If the caller requested PHI nodes to be added, compute
dominance frontiers. */
- dfs = xmalloc (last_basic_block * sizeof (bitmap *));
+ dfs = xmalloc (last_basic_block * sizeof (bitmap));
FOR_EACH_BB (bb)
dfs[bb->index] = BITMAP_ALLOC (NULL);
compute_dominance_frontiers (dfs);