diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-14 05:42:30 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-14 05:42:30 +0000 |
commit | 64402fe6e76013b08cb316782ef9131547be087f (patch) | |
tree | 4b9df061474023e56306cab98f5146192dd5654b /gcc/emit-rtl.c | |
parent | f281c5b8b1d4d90ea83df0f8fe3aa79883a37e10 (diff) | |
download | gcc-64402fe6e76013b08cb316782ef9131547be087f.tar.gz |
* emit-rtl.c (init_emit): Use ggc_alloc for regno_reg_rtx.
* function.h (struct emit_status): Length of regno_pointer_align
and x_regno_reg_rtx as seen by gengtype is only x_reg_rtx_no,
not regno_pointer_align_length (i.e. length actually used, not
length as allocated)
* config/i386/i386.c (struct stack_local_entry): New.
(struct machine_function): Replace huge array with alist.
(assign_386_stack_local): Change to match.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62891 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r-- | gcc/emit-rtl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 396579e6471..aefa8740716 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -5350,8 +5350,7 @@ init_emit () * sizeof (unsigned char)); regno_reg_rtx - = (rtx *) ggc_alloc_cleared (f->emit->regno_pointer_align_length - * sizeof (rtx)); + = (rtx *) ggc_alloc (f->emit->regno_pointer_align_length * sizeof (rtx)); /* Put copies of all the hard registers into regno_reg_rtx. */ memcpy (regno_reg_rtx, |