From: Jan Hubicka Date: Sat, 5 Apr 2008 12:25:32 +0000 (+0200) Subject: * emit-rtl.c (init_emit): xcalloc regno_pointer_align. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9fb7564ea2e59d56da5f2da0fcef15c33ce83205;p=gcc.git * emit-rtl.c (init_emit): xcalloc regno_pointer_align. From-SVN: r133933 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 785ec4ab577..de51e84e604 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ 2008-04-05 Jan Hubicka + * emit-rtl.c (init_emit): xcalloc regno_pointer_align. + * tree-dump.c (dump_enable_all): Remove prototype; do not accept letter argument. (dump_files): Update. diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index d000ee06b43..fd26d015763 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -4991,8 +4991,8 @@ init_emit (void) rtl.emit.regno_pointer_align_length = LAST_VIRTUAL_REGISTER + 101; rtl.emit.regno_pointer_align - = xmalloc (rtl.emit.regno_pointer_align_length - * sizeof (unsigned char)); + = xcalloc (rtl.emit.regno_pointer_align_length + * sizeof (unsigned char), 1); regno_reg_rtx = ggc_alloc (rtl.emit.regno_pointer_align_length * sizeof (rtx));