aboutsummaryrefslogtreecommitdiff
path: root/gcc/emit-rtl.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2003-02-14 05:42:30 +0000
committerZack Weinberg <zack@gcc.gnu.org>2003-02-14 05:42:30 +0000
commitddb0ae00a2fefc266ad0cd0fa12de4368c23e97a (patch)
tree4b9df061474023e56306cab98f5146192dd5654b /gcc/emit-rtl.c
parentc20b55c0cfd2fc6e22bd8cc1d027839d53a5048a (diff)
downloadgcc-ddb0ae00a2fefc266ad0cd0fa12de4368c23e97a.zip
gcc-ddb0ae00a2fefc266ad0cd0fa12de4368c23e97a.tar.gz
gcc-ddb0ae00a2fefc266ad0cd0fa12de4368c23e97a.tar.bz2
emit-rtl.c (init_emit): Use ggc_alloc for regno_reg_rtx.
* 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. From-SVN: r62891
Diffstat (limited to 'gcc/emit-rtl.c')
-rw-r--r--gcc/emit-rtl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c
index 396579e6..aefa874 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,