gcse.c (gcse_main): Fix typos.
* gcse.c (gcse_main): Fix typos. (alloc_gcse_mem): Likewise. From-SVN: r48406
This commit is contained in:
parent
38beb93302
commit
a176492c72
@ -1,3 +1,8 @@
|
||||
2001-12-31 Graham Stott <grahams@redhat.com>
|
||||
|
||||
* gcse.c (gcse_main): Fix typos.
|
||||
(alloc_gcse_mem): Likewise.
|
||||
|
||||
2001-12-31 Graham Stott <grahams@redhat.com>
|
||||
|
||||
* function.h: Remove undefs for rtx and tree.
|
||||
|
16
gcc/gcse.c
16
gcc/gcse.c
@ -831,11 +831,11 @@ gcse_main (f, file)
|
||||
{
|
||||
free_modify_mem_tables ();
|
||||
modify_mem_list
|
||||
= (rtx *) gmalloc (n_basic_blocks * sizeof (rtx *));
|
||||
= (rtx *) gmalloc (n_basic_blocks * sizeof (rtx));
|
||||
canon_modify_mem_list
|
||||
= (rtx *) gmalloc (n_basic_blocks * sizeof (rtx *));
|
||||
memset ((char *) modify_mem_list, 0, n_basic_blocks * sizeof (rtx *));
|
||||
memset ((char *) canon_modify_mem_list, 0, n_basic_blocks * sizeof (rtx *));
|
||||
= (rtx *) gmalloc (n_basic_blocks * sizeof (rtx));
|
||||
memset ((char *) modify_mem_list, 0, n_basic_blocks * sizeof (rtx));
|
||||
memset ((char *) canon_modify_mem_list, 0, n_basic_blocks * sizeof (rtx));
|
||||
orig_bb_count = n_basic_blocks;
|
||||
}
|
||||
free_reg_set_mem ();
|
||||
@ -1019,10 +1019,10 @@ alloc_gcse_mem (f)
|
||||
max_gcse_regno);
|
||||
/* Allocate array to keep a list of insns which modify memory in each
|
||||
basic block. */
|
||||
modify_mem_list = (rtx *) gmalloc (n_basic_blocks * sizeof (rtx *));
|
||||
canon_modify_mem_list = (rtx *) gmalloc (n_basic_blocks * sizeof (rtx *));
|
||||
memset ((char *) modify_mem_list, 0, n_basic_blocks * sizeof (rtx *));
|
||||
memset ((char *) canon_modify_mem_list, 0, n_basic_blocks * sizeof (rtx *));
|
||||
modify_mem_list = (rtx *) gmalloc (n_basic_blocks * sizeof (rtx));
|
||||
canon_modify_mem_list = (rtx *) gmalloc (n_basic_blocks * sizeof (rtx));
|
||||
memset ((char *) modify_mem_list, 0, n_basic_blocks * sizeof (rtx));
|
||||
memset ((char *) canon_modify_mem_list, 0, n_basic_blocks * sizeof (rtx));
|
||||
modify_mem_list_set = BITMAP_XMALLOC ();
|
||||
canon_modify_mem_list_set = BITMAP_XMALLOC ();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user