gcse.c (gcse_main): Fix typos.

* gcse.c (gcse_main): Fix typos.
	(alloc_gcse_mem): Likewise.

From-SVN: r48406
This commit is contained in:
Graham Stott 2001-12-31 03:51:45 +00:00 committed by Graham Stott
parent 38beb93302
commit a176492c72
2 changed files with 13 additions and 8 deletions

View File

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

View File

@ -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 ();
}